Merge pull request #144 from colkito/fix/mocha-setup-conflicts

compare the type of window in order to avoid nodejs conflicts with test
This commit is contained in:
Matias Alejo Garcia 2014-04-24 11:56:34 -03:00
commit 88d758a793
1 changed files with 3 additions and 1 deletions

View File

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