Skip to content

Commit

Permalink
Fixed state leak between multiple Jasmine instances run consecutively
Browse files Browse the repository at this point in the history
Fixes #207
  • Loading branch information
sgravrock committed Jun 6, 2023
1 parent 51b60d2 commit 7214425
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/jasmine.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class Jasmine extends RunnerBase {
if (options.globals === false) {
this.jasmine = jasmineCore.noGlobals().jasmine;
} else {
this.jasmine = jasmineCore.boot(jasmineCore);
this.jasmine = jasmineCore.boot(true);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
],
"dependencies": {
"glob": "^10.2.2",
"jasmine-core": "~5.0.0"
"jasmine-core": "github:jasmine/jasmine#npm-multiple-runs"
},
"bin": "./bin/jasmine.js",
"main": "./lib/jasmine.js",
Expand Down

0 comments on commit 7214425

Please sign in to comment.