Skip to content

Commit

Permalink
fix(client): do not reset karmaNavigating in unload handler (karma-ru…
Browse files Browse the repository at this point in the history
…nner#3591)

The unload handler itself does not know about navigation.
May fix karma-runner#3482
  • Loading branch information
johnjbarton authored Dec 17, 2020
1 parent 603bbc0 commit 4a8178f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion client/karma.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ function Karma (socket, iframe, opener, navigator, location, document) {
// TODO(vojta): show what test (with explanation about jasmine.UPDATE_INTERVAL)
self.error('Some of your tests did a full page reload!')
}
karmaNavigating = false
}

function clearContext () {
Expand Down
1 change: 0 additions & 1 deletion static/karma.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ function Karma (socket, iframe, opener, navigator, location, document) {
// TODO(vojta): show what test (with explanation about jasmine.UPDATE_INTERVAL)
self.error('Some of your tests did a full page reload!')
}
karmaNavigating = false
}

function clearContext () {
Expand Down

0 comments on commit 4a8178f

Please sign in to comment.