Increase Karma default timeout for mocha

As we have some fast-check tests.
This commit is contained in:
Franck 2021-12-20 18:21:21 +11:00
parent 4743491d6a
commit 3e85b4cdce
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
1 changed files with 5 additions and 0 deletions

View File

@ -15,6 +15,11 @@ module.exports = function (config) {
reporters: ['progress', 'karma-typescript'],
browsers: ['ChromeHeadless'],
singleRun: true,
client: {
mocha: {
timeout: 6000, // Default is 2s
},
},
karmaTypescriptConfig: {
bundlerOptions: {
entrypoints: /^.*[^(node)]\.spec\.ts$/,