test - fix help output for integration too
This commit is contained in:
parent
68f2ab6134
commit
6a91ae6eb0
1 changed files with 5 additions and 0 deletions
|
@ -18,6 +18,11 @@ const optimist = require('optimist')
|
||||||
.describe('browser', 'browser in which integration tests should run').string('browser').default('browser', 'chromium')
|
.describe('browser', 'browser in which integration tests should run').string('browser').default('browser', 'chromium')
|
||||||
.describe('help', 'show the help').alias('help', 'h');
|
.describe('help', 'show the help').alias('help', 'h');
|
||||||
|
|
||||||
|
if (optimist.argv.help) {
|
||||||
|
optimist.showHelp();
|
||||||
|
process.exit(0);
|
||||||
|
}
|
||||||
|
|
||||||
const width = 1200;
|
const width = 1200;
|
||||||
const height = 800;
|
const height = 800;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue