From 948205e94d6a12f0067e7c90693d81c6a5ff2f6d Mon Sep 17 00:00:00 2001 From: Bastian Krol Date: Tue, 2 Jul 2024 11:11:49 +0200 Subject: [PATCH] test: increase integration test timeout on CI --- test/.mocharc.integration.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/test/.mocharc.integration.js b/test/.mocharc.integration.js index e7b9db9..c495c28 100644 --- a/test/.mocharc.integration.js +++ b/test/.mocharc.integration.js @@ -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'], @@ -14,5 +17,5 @@ module.exports = { require: ['ts-node/register'], slow: 3000, spec: ['test/**/*test.ts'], - timeout: 10000, + timeout: isCi ? 20000 : 10000, };