From 2206d91049f59a66f3ecfeb59f8f5d583f79eee0 Mon Sep 17 00:00:00 2001 From: James Messinger Date: Tue, 1 Sep 2015 16:04:21 -0500 Subject: [PATCH] Fixed broken tests on Microsoft Edge --- tests/fixtures/globals.js | 1 + 1 file changed, 1 insertion(+) 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