From 4728f29f678bf69a352091c1f9d61c8bfd1cadf6 Mon Sep 17 00:00:00 2001 From: Marc Laval Date: Tue, 9 Aug 2016 16:17:55 +0200 Subject: [PATCH] test(router): increase Karma timers and add polyfills for old browsers --- modules/@angular/router/karma.conf.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/modules/@angular/router/karma.conf.js b/modules/@angular/router/karma.conf.js index 003b4cb3e6..66ba3d0b56 100644 --- a/modules/@angular/router/karma.conf.js +++ b/modules/@angular/router/karma.conf.js @@ -12,6 +12,7 @@ module.exports = function(config) { // Polyfills. 'node_modules/es6-shim/es6-shim.js', 'node_modules/reflect-metadata/Reflect.js', + 'shims_for_IE.js', // System.js for module loading 'node_modules/systemjs/dist/system-polyfills.js', @@ -76,6 +77,10 @@ module.exports = function(config) { logLevel: config.LOG_INFO, autoWatch: true, browsers: ['Chrome'], - singleRun: false + singleRun: false, + captureTimeout: 60000, + browserDisconnectTimeout : 60000, + browserDisconnectTolerance : 3, + browserNoActivityTimeout : 60000 }); -}; \ No newline at end of file +};