diff --git a/src/uxbox/data/core.cljs b/src/uxbox/data/core.cljs index 89ed9ca6a..f116d88ef 100644 --- a/src/uxbox/data/core.cljs +++ b/src/uxbox/data/core.cljs @@ -11,5 +11,9 @@ [uxbox.constants :as c] [uxbox.util.workers :as uw])) -(defonce worker (uw/init "/js/worker.js")) +;; This excludes webworker instantiation on nodejs where +;; the tests are run. + +(when (not= *target* "nodejs") + (defonce worker (uw/init "/js/worker.js")))