mirror of https://github.com/BTCPrivate/copay.git
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:
commit
88d758a793
|
@ -1 +1,3 @@
|
|||
window.mocha.setup({ timeout: 5000 });
|
||||
if (typeof window != 'undefined') {
|
||||
window.mocha.setup({ timeout: 5000 });
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue