Skip to content

Commit

Permalink
Merge 117e40c into 05dc288
Browse files Browse the repository at this point in the history
  • Loading branch information
Keen Yee Liau authored Nov 16, 2020
2 parents 05dc288 + 117e40c commit 32d6522
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/karma.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ function Karma (socket, iframe, opener, navigator, location, document) {
}

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

this.onbeforeunload = function () {
if (!karmaNavigating) {
if (karmaNavigating) {
// TODO(vojta): show what test (with explanation about jasmine.UPDATE_INTERVAL)
self.error('Some of your tests did a full page reload!')
}
Expand Down

0 comments on commit 32d6522

Please sign in to comment.