diff options
Diffstat (limited to 'test/data/testinit-jsdom.js')
-rw-r--r-- | test/data/testinit-jsdom.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/data/testinit-jsdom.js b/test/data/testinit-jsdom.js index bdb3c178e..0a784df03 100644 --- a/test/data/testinit-jsdom.js +++ b/test/data/testinit-jsdom.js @@ -42,6 +42,12 @@ function url( value ) { new Date().getTime() + "" + parseInt( Math.random() * 100000, 10 ); } +// We only run basic tests in jsdom so we don't need to repeat the logic +// from the regular testinit.js +this.includesModule = function() { + return true; +}; + // The file-loading part of testinit.js#loadTests is handled by // jsdom Karma config; here we just need to trigger relevant APIs. this.loadTests = function() { |