WebPageReplay: Deep merge configuration and skip camel case. (#4242)
The camel case is evil since it makes some metrcis becoming arrays.
This commit is contained in:
parent
5b206c11fc
commit
0ebdee2a5d
|
|
@ -24,6 +24,7 @@ let config;
|
|||
|
||||
try {
|
||||
config = configPath ? JSON.parse(readFileSync(configPath)) : {};
|
||||
|
||||
} catch (e) {
|
||||
if (e instanceof SyntaxError) {
|
||||
/* eslint no-console: off */
|
||||
|
|
@ -150,6 +151,7 @@ async function runBrowsertime() {
|
|||
' to increase the level of detail.',
|
||||
type: 'count'
|
||||
})
|
||||
.parserConfiguration({ 'camel-case-expansion': false, 'deep-merge-config': true })
|
||||
.config(config);
|
||||
|
||||
const defaultConfig = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue