+4
-3
@@ -13,8 +13,9 @@
|
||||
:modules {:main {:init-fn tbd.ui.core/init}}
|
||||
:devtools {:after-load tbd.ui.core/reload}}
|
||||
|
||||
;; script/ui-test: the tests run under Node, against fakes of fetch and navigator.modelContext.
|
||||
;; script/ui-test (npm test): the tests run under Node, in a jsdom window (test/dom-setup.cjs,
|
||||
;; which npm test preloads), against a fake server (fetch). Not :autorun: the preload has to
|
||||
;; come first, so npm test starts node itself.
|
||||
:test {:target :node-test
|
||||
:output-to "target/ui-test/test.js"
|
||||
:ns-regexp "-test$"
|
||||
:autorun true}}}
|
||||
:ns-regexp "-test$"}}}
|
||||
|
||||
Reference in New Issue
Block a user