diff options
Diffstat (limited to 'core/js/tests/specHelper.js')
-rw-r--r-- | core/js/tests/specHelper.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/js/tests/specHelper.js b/core/js/tests/specHelper.js index 3d208d9ef3f..7745b82a999 100644 --- a/core/js/tests/specHelper.js +++ b/core/js/tests/specHelper.js @@ -77,6 +77,8 @@ window.Snap.prototype = { close: function() {} }; +window.isPhantom = /phantom/i.test(navigator.userAgent); + // global setup for all tests (function setupTests() { var fakeServer = null, |