Skip to content

Commit 1b75093

Browse files
author
Brian Vaughn
committed
Fixed test script handling of unknown/additional args
1 parent 3c1a7ac commit 1b75093

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/jest/jest-cli.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ function getCommandArgs() {
258258

259259
// Push the remaining args onto the command.
260260
// This will send args like `--watch` to Jest.
261-
args.push(argv._);
261+
args.push(...argv._);
262262

263263
return args;
264264
}

0 commit comments

Comments
 (0)