Skip to content

Commit

Permalink
fix(client): do not reset karmaNavigating in unload handler (#3591)
Browse files Browse the repository at this point in the history
The unload handler itself does not know about navigation.
May fix #3482
  • Loading branch information
johnjbarton committed 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
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
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.