File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -162,6 +162,11 @@ Preload namespaces. Useful for loading specs and installing instrumentation.
162162 :kaocha.plugin.preloads/ns-names [my.acme.specs]}
163163```
164164
165+ This plugin works for only Clojure namespaces. For ClojureScript namespaces, use
166+ the [ ` :preloads `
167+ functionality] ( https://clojurescript.org/reference/compiler-options#preloads ) of the
168+ ClojureScript compiler.
169+
165170## Debug
166171
167172Inspect Kaocha's process by printing out a message at every single hook. This is
Original file line number Diff line number Diff line change 33
44 Useful for preloading specs and other instrumentation.
55
6- This calls `require` on the given namespace names before loading any tests.
7- Only works for Clojure namespaces, for ClojureScript use the :preloads
8- functionality of the ClojureScript compiler."
6+ This plugin calls `require` on the given namespace names before loading any
7+ tests.
8+
9+ This plugin works for only Clojure namespaces. For ClojureScript namespaces,
10+ use the :preloads functionality of the ClojureScript compiler."
911 (:require [kaocha.plugin :refer [defplugin ]]))
1012
1113(defplugin kaocha.plugin /preloads
You can’t perform that action at this time.
0 commit comments