We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9bcab38 commit 5bd26b6Copy full SHA for 5bd26b6
test/runner.js
@@ -8,14 +8,14 @@ chai.use(chaiAsPromised);
8
global.assert = chai.assert;
9
10
// Give tests that rely on filesystem event delivery lots of breathing room.
11
-until.setDefaultTimeout(3000);
+until.setDefaultTimeout(parseInt(process.env.UNTIL_TIMEOUT || '3000', 10));
12
13
module.exports = createRunner({
14
htmlTitle: `GitHub Package Tests - pid ${process.pid}`,
15
reporter: process.env.MOCHA_REPORTER || 'spec',
16
overrideTestPaths: [/spec$/, /test/],
17
}, mocha => {
18
- mocha.timeout(5000);
+ mocha.timeout(parseInt(process.env.MOCHA_TIMEOUT || '5000', 10));
19
if (process.env.APPVEYOR_API_URL) {
20
mocha.reporter(require('mocha-appveyor-reporter'));
21
}
0 commit comments