Hi, I'm trying to run a subset of tests with kaocha-cljs2. this works to just run a given ns:
(kaocha.repl/run
{:kaocha/tests
[{:kaocha.testable/id :browser-tests
:kaocha.testable/type :kaocha.type/cljs2
:kaocha.cljs2/timeout 30000}]
:kaocha.filter/focus [:xyz]})
but I want to run for ns's matching a pattern. I have tried various combos of :ns-patterns in this config but in all cases no tests are run. any pointers please?I created a post-load hook to do the filtering: https://gist.github.com/henryw374/6ba4359f540412baae4510d790fcf273
if there's a better way please let me know
I'm not sure ns-patterns is supported by kaocha-cljs2, it's a completely different loading path.
ok no worries, the hook is working fine for now