made it single run and headless

This commit is contained in:
Wouter van der Plas
2021-10-24 11:39:04 +02:00
parent 2a28f32f7a
commit 994c5ada49
3 changed files with 10 additions and 7 deletions

File diff suppressed because one or more lines are too long

View File

@@ -7,7 +7,12 @@ module.exports = function (config) {
// base path that will be used to resolve all patterns (eg. files, exclude)
basePath: '',
plugins: ['karma-remap-istanbul', 'karma-coverage', 'karma-mocha', 'karma-phantomjs-launcher', 'karma-chrome-launcher'],
plugins: [
'karma-remap-istanbul',
'karma-coverage',
'karma-mocha',
'karma-chrome-launcher'
],
// frameworks to use
// available frameworks: https://www.npmjs.com/search?q=keywords:karma-adapter
@@ -74,14 +79,13 @@ module.exports = function (config) {
// start these browsers
// available browser launchers: https://www.npmjs.com/search?q=keywords:karma-launcher
browsers: [
'Chrome',
'PhantomJS'
'ChromeHeadless'
],
// Continuous Integration mode
// if true, Karma captures browsers, runs the tests and exits
singleRun: false,
singleRun: true,
// Concurrency level
// how many browser instances should be started simultaneously

View File

@@ -100,10 +100,9 @@
"karma-chrome-launcher": "^3.1.0",
"karma-coverage": "^2.0.3",
"karma-mocha": "^2.0.1",
"karma-phantomjs-launcher": "^1.0.4",
"karma-remap-istanbul": "^0.6.0",
"mapillary-js": "4.0.0",
"mapillary_sprite_source": "^1.8.0",
"mapillary-js": "4.0.0",
"minimist": "^1.2.3",
"mocha": "^7.0.1",
"name-suggestion-index": "~6.0",