From 07481feba53d2f26b75eb41807487ecf76f38f17 Mon Sep 17 00:00:00 2001 From: GabrielMeyer Date: Mon, 23 Sep 2019 16:47:27 +0200 Subject: [PATCH] Updates karma to prevent cancelling tests because of timeout --- client/karma.conf.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/client/karma.conf.js b/client/karma.conf.js index ecf7ad9e7..20b348ace 100644 --- a/client/karma.conf.js +++ b/client/karma.conf.js @@ -1,7 +1,7 @@ // Karma configuration file, see link for more information // https://karma-runner.github.io/1.0/config/configuration-file.html -module.exports = function(config) { +module.exports = function (config) { config.set({ basePath: '', frameworks: ['jasmine', '@angular-devkit/build-angular'], @@ -13,7 +13,10 @@ module.exports = function(config) { require('@angular-devkit/build-angular/plugins/karma') ], client: { - clearContext: false // leave Jasmine Spec Runner output visible in browser + clearContext: false, // leave Jasmine Spec Runner output visible in browser + jasmine: { + timeoutInterval: 10000 + } }, coverageIstanbulReporter: { dir: require('path').join(__dirname, '../coverage'),