From 6a91ae6eb04e86128de5bc00c22cc025f11b77b3 Mon Sep 17 00:00:00 2001 From: Benjamin Pasero Date: Fri, 7 Feb 2020 16:48:39 +0100 Subject: [PATCH] test - fix help output for integration too --- test/integration/browser/src/index.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/integration/browser/src/index.ts b/test/integration/browser/src/index.ts index 004c9242cc7..2b8aef11d11 100644 --- a/test/integration/browser/src/index.ts +++ b/test/integration/browser/src/index.ts @@ -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;