Skip to content

Commit

Permalink
Fixed broken tests on Microsoft Edge
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesMessinger committed Sep 1, 2015
1 parent 9b704f9 commit 2206d91
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/fixtures/globals.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
window.userAgent = userAgentParser.parse(navigator.userAgent);
window.userAgent.isNode = false;
window.userAgent.isBrowser = true;
window.userAgent.isIE = window.userAgent.isIE || /Edge/.test(navigator.userAgent);
}
else {
// Expose Node globals
Expand Down

0 comments on commit 2206d91

Please sign in to comment.