Skip to content

Commit

Permalink
test(e2e): fix issues in karma-old-versions for lts node
Browse files Browse the repository at this point in the history
  • Loading branch information
nicojs committed Oct 26, 2022
1 parent 13b55b4 commit c492c86
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
7 changes: 7 additions & 0 deletions e2e/test/karma-old-version/karma.conf.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module.exports = function (config) {
config.set({
frameworks: ['mocha', 'chai'],
files: ['src/*.js', 'test/*.js'],
browsers: ['ChromeHeadless']
});
};
1 change: 1 addition & 0 deletions e2e/test/karma-old-version/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"main": "index.js",
"scripts": {
"pretest": "rimraf \"reports\"",
"test:unit": "karma start --singleRun",
"test": "stryker run",
"posttest": "mocha --no-config --no-package --timeout 0 verify/verify.js"
},
Expand Down
11 changes: 1 addition & 10 deletions e2e/test/karma-old-version/stryker.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,7 @@
"event-recorder"
],
"karma": {
"config": {
"frameworks": [
"mocha",
"chai"
],
"files": [
"src/*.js",
"test/*.js"
]
}
"configFile": "karma.conf.js"
},
"timeoutMS": 60000,
"concurrency": 2,
Expand Down

0 comments on commit c492c86

Please sign in to comment.