Leak to avoid sporadic noglobals fails on Edge in Sauce Labs.

This commit is contained in:
John-David Dalton
2016-01-08 23:46:48 -08:00
parent 84879453b1
commit 7cce658fc4

View File

@@ -143,6 +143,9 @@
/*--------------------------------------------------------------------------*/
// Leak to avoid sporadic `noglobals` fails on Edge in Sauce Labs.
root.msWDfn = undefined;
// Exit early if going to run tests in a PhantomJS web page.
if (phantom && isModularize) {
var page = require('webpage').create();