Fix plain html tests

This commit is contained in:
Jan Nicklas 2015-03-13 17:17:32 +01:00
parent 76d45eda48
commit 2a66d2f545
1 changed files with 3 additions and 3 deletions

View File

@ -97,7 +97,7 @@ describe('HtmlWebpackPlugin', function() {
},
plugins: [new HtmlWebpackPlugin({
append: true,
template: path.join(__dirname, 'fixtures/test.html')
template: path.join(__dirname, 'fixtures/plain.html')
})]
}, ['<script src="util_bundle.js?%hash%"', '<script src="app_bundle.js?%hash%"'], null, done);
});
@ -114,7 +114,7 @@ describe('HtmlWebpackPlugin', function() {
},
plugins: [new HtmlWebpackPlugin({
append: ['util', 'app'],
templateContent: fs.readFileSync(path.join(__dirname, 'fixtures/test.html'), 'utf8')
templateContent: fs.readFileSync(path.join(__dirname, 'fixtures/plain.html'), 'utf8')
})]
}, ['<script src="util_bundle.js?%hash%"', '<script src="app_bundle.js?%hash%"'], null, done);
});
@ -131,7 +131,7 @@ describe('HtmlWebpackPlugin', function() {
},
plugins: [new HtmlWebpackPlugin({
append: ['app'],
template: path.join(__dirname, 'fixtures/test.html')
template: path.join(__dirname, 'fixtures/plain.html')
})]
}, ['<script src="app_bundle.js?%hash%"'], null, done);
});