Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
test(config): update snapshots
  • Loading branch information
yoannmoinet committed Mar 12, 2019
commit 01ba5f40b570392000e0dd6e47b735dbee064cd9
146 changes: 71 additions & 75 deletions test/__snapshots__/CreateConfig.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -1037,6 +1037,77 @@ Object {
}
`;

exports[`createConfig use webpack stats 1`] = `
Object {
"clientLogLevel": "_clientLogLevel",
"compress": "_compress",
"contentBase": "_contentBase",
"disableHostCheck": "_disableHostCheck",
"filename": "_filename",
"historyApiFallback": "_historyApiFallback",
"host": "_foo",
"hot": "_hot",
"hotOnly": "_hotOnly",
"https": "_https",
"inline": "_inline",
"lazy": "_lazy",
"noInfo": true,
"open": "_open",
"openPage": "_openPage",
"pfxPassphrase": "_pfxPassphrase",
"port": "_port",
"progress": "_progress",
"public": "_public",
"publicPath": "_publicPath",
"quiet": "_quiet",
"socket": "_socket",
"stats": Object {
"assetsSort": "size",
},
"useLocalIp": "_useLocalIp",
"watchContentBase": "_watchContentBase",
}
`;

exports[`createConfig use webpack stats 2`] = `
Object {
"devServer": Object {
"clientLogLevel": "_clientLogLevel",
"compress": "_compress",
"contentBase": "_contentBase",
"disableHostCheck": "_disableHostCheck",
"filename": "_filename",
"historyApiFallback": "_historyApiFallback",
"host": "_foo",
"hot": "_hot",
"hotOnly": "_hotOnly",
"https": "_https",
"inline": "_inline",
"lazy": "_lazy",
"noInfo": true,
"open": "_open",
"openPage": "_openPage",
"pfxPassphrase": "_pfxPassphrase",
"port": "_port",
"progress": "_progress",
"public": "_public",
"publicPath": "_publicPath",
"quiet": "_quiet",
"socket": "_socket",
"stats": Object {
"assetsSort": "size",
},
"useLocalIp": "_useLocalIp",
"watchContentBase": "_watchContentBase",
},
"entry": "./app.js",
"mode": "development",
"stats": Object {
"assetsSort": "size",
},
}
`;

exports[`createConfig useLocalIp option (in devServer config) 1`] = `
Object {
"hot": true,
Expand Down Expand Up @@ -1130,78 +1201,3 @@ Object {
},
}
`;

exports[`createConfig use webpack stats 1`] = `
Object {
"clientLogLevel": "_clientLogLevel",
"compress": true,
"contentBase": "_contentBase",
"disableHostCheck": "_disableHostCheck",
"filename": "_filename",
"historyApiFallback": "_historyApiFallback",
"host": "foo",
"hot": "_hot",
"hotOnly": "_hotOnly",
"https": true,
"inline": "_inline",
"lazy": true,
"noInfo": true,
"open": "open",
"openPage": "_openPage",
"pfxPassphrase": "_pfxPassphrase",
"port": "port",
"progress": "progress",
"public": "public",
"publicPath": "_publicPath",
"quiet": true,
"socket": "socket",
"stats": Object {
"assetsSort": "size",
"colors": undefined,
},
"useLocalIp": true,
"watchContentBase": "_watchContentBase",
"watchOptions": undefined,
}
`;

exports[`createConfig use webpack stats 2`] = `
Object {
"devServer": Object {
"clientLogLevel": "_clientLogLevel",
"compress": true,
"contentBase": "_contentBase",
"disableHostCheck": "_disableHostCheck",
"filename": "_filename",
"historyApiFallback": "_historyApiFallback",
"host": "foo",
"hot": "_hot",
"hotOnly": "_hotOnly",
"https": true,
"inline": "_inline",
"lazy": true,
"noInfo": true,
"open": "open",
"openPage": "_openPage",
"pfxPassphrase": "_pfxPassphrase",
"port": "port",
"progress": "progress",
"public": "public",
"publicPath": "_publicPath",
"quiet": true,
"socket": "socket",
"stats": Object {
"assetsSort": "size",
"colors": undefined,
},
"useLocalIp": true,
"watchContentBase": "_watchContentBase",
"watchOptions": undefined,
},
"entry": "./app.js",
"mode": "development",
"stats": Object {
"assetsSort": "size",
},
}
`;