compare the type of window in order to avoid nodejs conflicts with test

This commit is contained in:
Mario Colque 2014-04-24 09:46:18 -03:00
commit 2ad86bad9c

View file

@ -1 +1,3 @@
window.mocha.setup({ timeout: 5000 });
if (typeof window != 'undefined') {
window.mocha.setup({ timeout: 5000 });
}