diff --git a/tests/fixtures/globals.js b/tests/fixtures/globals.js index 8a0f59b..8220fc6 100644 --- a/tests/fixtures/globals.js +++ b/tests/fixtures/globals.js @@ -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