Skip to content

Commit

Permalink
Fix tests after webpack v4 upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaceK33z committed Feb 14, 2018
1 parent eb2f0a9 commit 6db2e85
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion client-src/live/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ module.exports = {
},
{
test: /\.html$/,
use: ['html-loader'],
use: ['html-loader']
},
{
test: /\.css$/,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"strip-ansi": "^3.0.0",
"supports-color": "^5.1.0",
"webpack-dev-middleware": "2.0.5",
"yargs": "^9.0.1"
"yargs": "9.0.1"
},
"devDependencies": {
"babel-cli": "^6.26.0",
Expand Down
2 changes: 1 addition & 1 deletion test/Validation.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ describe('Validation', () => {
' object { hot?, hotOnly?, lazy?, bonjour?, host?, allowedHosts?, filename?, publicPath?, port?, socket?, ' +
'watchOptions?, headers?, clientLogLevel?, overlay?, progress?, key?, cert?, ca?, pfx?, pfxPassphrase?, requestCert?, ' +
'inline?, disableHostCheck?, public?, https?, contentBase?, watchContentBase?, open?, useLocalIp?, openPage?, features?, ' +
'compress?, proxy?, historyApiFallback?, staticOptions?, setup?, before?, after?, stats?, reporter?, reportTime?, ' +
'compress?, proxy?, historyApiFallback?, staticOptions?, setup?, before?, after?, stats?, reporter?, logTime?, ' +
'noInfo?, quiet?, serverSideRender?, index?, log?, warn? }'
]
}];
Expand Down
4 changes: 2 additions & 2 deletions test/fixtures/historyapifallback-3-config/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ module.exports = {
path: '/'
},
module: {
loaders: [
rules: [
{
test: /\.html$/,
loader: 'file-loader',
query: { name: 'index.html' }
options: { name: 'index.html' }
}
]
}
Expand Down
4 changes: 2 additions & 2 deletions test/fixtures/historyapifallback-config/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ module.exports = {
path: '/'
},
module: {
loaders: [
rules: [
{
test: /\.html$/,
loader: 'file-loader',
query: { name: '[name].[ext]' }
options: { name: '[name].[ext]' }
}
]
}
Expand Down

0 comments on commit 6db2e85

Please sign in to comment.