diff --git a/test/mocha.conf.js b/test/mocha.conf.js index fd1766e7c..597f2ea60 100644 --- a/test/mocha.conf.js +++ b/test/mocha.conf.js @@ -1 +1,3 @@ -window.mocha.setup({ timeout: 5000 }); +if (typeof window != 'undefined') { + window.mocha.setup({ timeout: 5000 }); +}