You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
:RunTests runs the Clojure tests for the namespace when invoked from a .cljs file, and cpr only does a :Require.
Any chance of adding support for cljs.test? It seems it can be a bit tricky with s:capture_test_run as it uses many clojure.test functions that aren't present in cljs.test.
The text was updated successfully, but these errors were encountered:
As far as cpr goes, I think part of the problem is that vim-fireplace tries to call load-file on a resource path, but it expects an actual file path. So, while the src/test is on the classpath, using (load-file "foo/some-test.cljs") on src/test/foo/some-test.cljs will not work anyway - it needs to call (load-file "src/test/foo/some-test.cljs").
Also worth noting that shadow-cljs added support for relative paths fairly recently.
:RunTests
runs the Clojure tests for the namespace when invoked from a.cljs
file, andcpr
only does a:Require
.Any chance of adding support for
cljs.test
? It seems it can be a bit tricky withs:capture_test_run
as it uses manyclojure.test
functions that aren't present incljs.test
.The text was updated successfully, but these errors were encountered: