Skip to content

Commit

Permalink
test(e2e): improve e2e stability (#2055)
Browse files Browse the repository at this point in the history
Disable `client.clearContext` for karma e2e tests

Temporary fix for #2049
  • Loading branch information
nicojs authored Feb 18, 2020
1 parent 9d1fcc1 commit d2a6231
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion e2e/test/karma-jasmine/stryker.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ module.exports = function (config) {
maxConcurrentTestRunners: 2,
karma: {
config: {
files: ['src/*.js', 'test/*.js']
files: ['src/*.js', 'test/*.js'],
client: {
clearContext: false
}
}
},
mutator: 'javascript'
Expand Down
5 changes: 4 additions & 1 deletion e2e/test/karma-mocha/stryker.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ module.exports = function (config) {
karma: {
config: {
frameworks: ['mocha', 'chai'],
files: ['src/*.js', 'test/*.js']
files: ['src/*.js', 'test/*.js'],
client: {
clearContext: false
}
}
},
maxConcurrentTestRunners: 2,
Expand Down

0 comments on commit d2a6231

Please sign in to comment.