From 1365882de4b9c460ff8cff1879f88f881027a8f4 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Mon, 7 Jul 2014 07:53:33 -0700 Subject: [PATCH] Simplify test condition. --- test/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test.js b/test/test.js index 70de3a9bf..f6a5d0883 100644 --- a/test/test.js +++ b/test/test.js @@ -316,7 +316,7 @@ ].join('\n'))); } catch(e) { - if (amd || isJava || typeof require != 'function' || !_.isObject(require.cache)) { + if (!phantom) { return; } }