Skip to content

Commit

Permalink
test: increase integration test timeout on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
basti1302 committed Jul 2, 2024
1 parent 1eb2044 commit 948205e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions test/.mocharc.integration.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@

'use strict';

/* global module */
/* global module, require */

// eslint-disable-next-line @typescript-eslint/no-var-requires
const isCi = require('is-ci');

module.exports = {
extension: ['ts'],
Expand All @@ -14,5 +17,5 @@ module.exports = {
require: ['ts-node/register'],
slow: 3000,
spec: ['test/**/*test.ts'],
timeout: 10000,
timeout: isCi ? 20000 : 10000,
};

0 comments on commit 948205e

Please sign in to comment.