Copy BT settings to the API (#4200)

This commit is contained in:
Peter Hedenskog 2024-06-24 12:52:44 +02:00 committed by GitHub
parent ca986c50dd
commit 14650c5f2e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -65,6 +65,10 @@ async function api(options) {
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') {
const spinner = ora({
text: `Send test to ${hostname} testing ${options._[0]}`,