From d7f4f392d2c8f635580c03fb86cdd0ae7df66f9e Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Mon, 8 Jul 2013 01:16:01 -0700 Subject: [PATCH] Fix avoid hang in web worker unit test for phantomjs. Former-commit-id: 22b4e7c99f9b0eb3cf7c250144bb375aeb9352e8 --- test/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test.js b/test/test.js index 4e5561044..12586281f 100644 --- a/test/test.js +++ b/test/test.js @@ -12,7 +12,7 @@ slice = Array.prototype.slice, system = window.system, toString = Object.prototype.toString, - Worker = window.Worker; + Worker = !phantom && window.Worker; /** Use a single "load" function */ var load = !amd && typeof require == 'function' ? require : window.load;