diff options
Diffstat (limited to 'test/helper.js')
-rw-r--r-- | test/helper.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/helper.js b/test/helper.js index db3e162..07ab837 100644 --- a/test/helper.js +++ b/test/helper.js @@ -1,5 +1,7 @@ (function() { + // lazy defined navigator causes global leak warnings... + var requireBak; var specialRequires = { 'chai': requireChai @@ -13,6 +15,7 @@ /* stream hack for SAX */ if (!testSupport.isNode) { + window.navigator; requireBak = require; require = function require_shim(type) { |