add jest options

This commit is contained in:
Karsten Hassel
2021-06-11 22:14:57 +02:00
parent 99e5edf2c5
commit 044935a164
4 changed files with 5 additions and 21 deletions

View File

@@ -16,7 +16,7 @@ exports.getElectronPath = function () {
return electronPath;
};
// Set timeout - if this is run within Travis, increase timeout
// Set timeout - if this is run as CI Job, increase timeout
exports.setupTimeout = function (test) {
if (process.env.CI) {
jest.setTimeout(30000);