Copy BT settings to the API (#4200)
This commit is contained in:
parent
ca986c50dd
commit
14650c5f2e
|
|
@ -65,6 +65,10 @@ async function api(options) {
|
||||||
delete apiOptions.extends;
|
delete apiOptions.extends;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// We copy all browsertime settings to fix the problem when we use --config
|
||||||
|
// and then try to ovverride some configurations using command line
|
||||||
|
apiOptions.browsertime = options.browsertime;
|
||||||
|
|
||||||
if (action === 'add' || action === 'addAndGetResult') {
|
if (action === 'add' || action === 'addAndGetResult') {
|
||||||
const spinner = ora({
|
const spinner = ora({
|
||||||
text: `Send test to ${hostname} testing ${options._[0]}`,
|
text: `Send test to ${hostname} testing ${options._[0]}`,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue