bhauman / devcards

Devcards aims to provide a visual REPL experience for ClojureScript
1.53k stars 116 forks source link

deftest provided is incompatible with doo test runner #142

Closed timothypratley closed 5 years ago

timothypratley commented 5 years ago

See minimal example: https://github.com/timothypratley/devcardsdoo

A test declared with devcards.core/deftest causes

;; ======================================================================
;; Testing with Nashorn:

Error while loading file: "resources/public/js/compiled/testable.js"
ReferenceError: "Map" is not defined
At line 7551

ERROR: doo was not loaded from the compiled script.
timothypratley commented 5 years ago

Actually, just referring devcards causes the behavior (not actually related to deftest)

bhauman commented 5 years ago

see https://github.com/timothypratley/devcardsdoo/pull/1