compare the type of window in order to avoid nodejs conflicts with test
This commit is contained in:
parent
9bd20bb6e7
commit
2ad86bad9c
1 changed files with 3 additions and 1 deletions
|
|
@ -1 +1,3 @@
|
|||
window.mocha.setup({ timeout: 5000 });
|
||||
if (typeof window != 'undefined') {
|
||||
window.mocha.setup({ timeout: 5000 });
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue