Skip to content

Commit 4a8178f

Browse files
authoredDec 17, 2020
fix(client): do not reset karmaNavigating in unload handler (#3591)
The unload handler itself does not know about navigation. May fix #3482
1 parent 603bbc0 commit 4a8178f

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed
 

‎client/karma.js

-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,6 @@ function Karma (socket, iframe, opener, navigator, location, document) {
135135
// TODO(vojta): show what test (with explanation about jasmine.UPDATE_INTERVAL)
136136
self.error('Some of your tests did a full page reload!')
137137
}
138-
karmaNavigating = false
139138
}
140139

141140
function clearContext () {

‎static/karma.js

-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,6 @@ function Karma (socket, iframe, opener, navigator, location, document) {
145145
// TODO(vojta): show what test (with explanation about jasmine.UPDATE_INTERVAL)
146146
self.error('Some of your tests did a full page reload!')
147147
}
148-
karmaNavigating = false
149148
}
150149

151150
function clearContext () {

0 commit comments

Comments
 (0)
Please sign in to comment.