Skip to content

Commit 187ab7d

Browse files
jbedardclydin
authored andcommitted
test: add missing yargs config
1 parent acde1b4 commit 187ab7d

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

tests/legacy-cli/e2e_runner.ts

+12-1
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,22 @@ Error.stackTraceLimit = Infinity;
3333
* passed in.
3434
* --shard Index of this processes' shard.
3535
* --tmpdir=path Override temporary directory to use for new projects.
36+
* --yarn Use yarn as package manager.
3637
* If unnamed flags are passed in, the list of tests will be filtered to include only those passed.
3738
*/
3839
const argv = yargsParser(process.argv.slice(2), {
39-
boolean: ['debug', 'esbuild', 'ng-snapshots', 'noglobal', 'nosilent', 'noproject', 'verbose'],
40+
boolean: [
41+
'debug',
42+
'esbuild',
43+
'ng-snapshots',
44+
'noglobal',
45+
'nosilent',
46+
'noproject',
47+
'verbose',
48+
'yarn',
49+
],
4050
string: ['devkit', 'glob', 'ignore', 'reuse', 'ng-tag', 'tmpdir', 'ng-version'],
51+
number: ['nb-shards', 'shard'],
4152
configuration: {
4253
'dot-notation': false,
4354
'camel-case-expansion': false,

0 commit comments

Comments
 (0)