Skip to content

Commit d16ce9d

Browse files
committed
test: increase integration test timeout on CI
1 parent 198d309 commit d16ce9d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

test/.mocharc.integration.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33

44
'use strict';
55

6-
/* global module */
6+
/* global module, require */
7+
8+
// eslint-disable-next-line @typescript-eslint/no-var-requires
9+
const isCi = require('is-ci');
710

811
module.exports = {
912
extension: ['ts'],
@@ -14,5 +17,5 @@ module.exports = {
1417
require: ['ts-node/register'],
1518
slow: 3000,
1619
spec: ['test/**/*test.ts'],
17-
timeout: 10000,
20+
timeout: isCi ? 20000 : 10000,
1821
};

0 commit comments

Comments
 (0)