Skip to content

Commit

Permalink
ensured -o + -d option CLI test does not timeout on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Oaphi committed Jul 2, 2022
1 parent bc8f949 commit bdcd580
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/cli.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
});
Expand Down

0 comments on commit bdcd580

Please # to comment.