test - fix help output for integration too

This commit is contained in:
Benjamin Pasero 2020-02-07 16:48:39 +01:00
parent 68f2ab6134
commit 6a91ae6eb0

View file

@ -18,6 +18,11 @@ const optimist = require('optimist')
.describe('browser', 'browser in which integration tests should run').string('browser').default('browser', 'chromium')
.describe('help', 'show the help').alias('help', 'h');
if (optimist.argv.help) {
optimist.showHelp();
process.exit(0);
}
const width = 1200;
const height = 800;