From bdcd5804447e168e7842c513ac9b6486749ffb1a Mon Sep 17 00:00:00 2001 From: Oleg Valter Date: Sat, 2 Jul 2022 03:58:22 +0300 Subject: [PATCH] ensured -o + -d option CLI test does not timeout on CI --- test/cli.spec.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/cli.spec.ts b/test/cli.spec.ts index 9090129..955fd33 100644 --- a/test/cli.spec.ts +++ b/test/cli.spec.ts @@ -62,7 +62,8 @@ describe("CLI Options", function () { expect(stat(output)).to.eventually.be.rejected; }); - it("-d option should override -o", async () => { + it("-d option should override -o", async function () { + this.timeout(1e4); // ensure CI does not fail if exec is slow await aexec(`${cliPfx} tampermonkey -p ${pkg} -o ${output} -d`); expect(stat(output)).to.eventually.be.rejected; });