> ERROR in unit (core.clj:6) @marharyta.obraztsova are those three lines all the info you are getting? is there a stacktrace? does it mention a file in /tmp with more info? It's really hard to glean anything from what you've shared.
@schmandle could you add
[lambdaisland/glogi "1.0.100"]
{lambdaisland/glogi {:mvn/version "1.0.100"}}
to your deps.edn or project.clj and see if that allows you to use the latest kaocha-cljs?yes, this works:
{lambdaisland/kaocha {:mvn/version "RELEASE"}
lambdaisland/kaocha-cljs {:mvn/version "RELEASE"}
lambdaisland/glogi {:mvn/version "1.0.100"}
lambdaisland/kaocha-junit-xml {:mvn/version "RELEASE"}}
:thumbsup:
Hi, Iām having an issue where when running at the repl kaocha looses the binding for the current plugins when running the :post-summary
hook. I narrowed it down to here https://github.com/lambdaisland/kaocha/blob/55d1321aec6ecb3ec21af1dd910da52c15c324f3/src/kaocha/repl.clj#L155
Wanted to get a second set of eyes before I logged an issue as I donāt see anyway for plugin/run-hook
to still have plugin/*current-chain*
outside of the api/run
function.
@actuallyalys_slack I found this when using the āprofilingā plugin, which uses the :post-summary
hook. Currently running this with the repl api doesnāt output the profiling summary because of plugin/*current-chain*
no longer being bound outside the api/run
call.
Thanks for letting us know! So you're trying to access plugin/*current-chain*
from a hook? What do you need it for, in case there's an alternative to using plugin/*current-chain*
?