I’m trying to use the hooks plugin to add a pre-test hook, but whenever I add the :kaocha.hooks/pre-test [my.hooks/some-hook] my run fails in a spec error without ever running the hook
should contain keys: :kaocha.testable/id, :kaocha.testable/type
| key | spec |
|=======================+====================|
| :kaocha.testable/id | keyword? |
|-----------------------+--------------------|
| :kaocha.testable/type | qualified-keyword? |
-- Relevant specs -------
:kaocha/testable:
(clojure.spec.alpha/keys
:req
[:kaocha.testable/type :kaocha.testable/id]
:opt
[:kaocha.testable/meta :kaocha.testable/wrap])
found that it doesn’t seem to find my code, and that is causing this weird problem… if I put an inline (fn [test _] …) as a hook, it works