Skip to content

Commit d0b3459

Browse files
authored
expose cwd and config_dir via program options (#1928)
1 parent 11111bd commit d0b3459

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

testem.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ program
3535
.option('-P, --parallel [num]', 'number of browsers to run in parallel, defaults to 1', Number)
3636
.option('-b, --bail_on_uncaught_error', 'Bail on any uncaught errors')
3737
.option('-R, --reporter [reporter]', 'Test reporter to use [tap|dot|xunit|teamcity]')
38+
.option('--cwd [path]', 'directory to use as root')
39+
.option('--config_dir [path]', 'directory to use as root for resolving configs, if different than cwd')
3840
.action(act(env => {
3941
env.__proto__ = program;
4042
progOptions = env;

0 commit comments

Comments
 (0)