Skip to content

Commit 6a91ae6

Browse files
author
Benjamin Pasero
committed
test - fix help output for integration too
1 parent 68f2ab6 commit 6a91ae6

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

test/integration/browser/src/index.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ const optimist = require('optimist')
1818
.describe('browser', 'browser in which integration tests should run').string('browser').default('browser', 'chromium')
1919
.describe('help', 'show the help').alias('help', 'h');
2020

21+
if (optimist.argv.help) {
22+
optimist.showHelp();
23+
process.exit(0);
24+
}
25+
2126
const width = 1200;
2227
const height = 800;
2328

0 commit comments

Comments
 (0)