diff options
author | Andrew Henry <akhenry@gmail.com> | 2020-08-10 19:47:04 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-10 19:47:04 +0300 |
commit | 7e7141a5a0b384a5958f7bad9e159bebc55c552b (patch) | |
tree | 60a565e40658f60628dc380b72a29abfb81c285f /karma.conf.js | |
parent | e32f465f7a3bf70876046be6ecfe0250fb325912 (diff) |
Fixes to enable testing again (#3275)
* Updated library versions
* Use Karma alternative spec loading
* Fixed memory leak in URLTimeSettingsSynchronizer
* Introduce mock DataTransfer object to fix issue with firefox headless
* make resetApplicationState return a promise
* Remove BeforeAll
* Do not throw an error if root returns no children
* Adding missing parameters to ES tests
* Fixed TransactionService bug
* bump test coverage up to 64%
Diffstat (limited to 'karma.conf.js')
-rw-r--r-- | karma.conf.js | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/karma.conf.js b/karma.conf.js index fe02334ed..8875b7828 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -52,12 +52,16 @@ module.exports = (config) => { basePath: '', frameworks: ['jasmine'], files: [ - 'platform/**/*Spec.js', - 'src/**/*Spec.js' + 'indexTest.js' ], port: 9876, reporters: reporters, browsers: browsers, + client: { + jasmine: { + random: false + } + }, customLaunchers: { ChromeDebugging: { base: 'Chrome', @@ -82,20 +86,20 @@ module.exports = (config) => { reports: ['html', 'lcovonly', 'text-summary'], thresholds: { global: { - lines: 62 + lines: 64 } } }, preprocessors: { - 'platform/**/*Spec.js': ['webpack', 'sourcemap'], - 'src/**/*Spec.js': ['webpack', 'sourcemap'] + 'indexTest.js': ['webpack', 'sourcemap'] }, webpack: webpackConfig, webpackMiddleware: { stats: 'errors-only', logLevel: 'warn' }, + concurrency: 1, singleRun: true, browserNoActivityTimeout: 90000 }); -} +}; |