@aya I forwarded your question here (and will delete it from #slack-help as it is off-topic there).
Hi folks! I believe I found a bug - if I start a Clojure project with lein new app, open up a REPL, connect to Calva (via the "Generic" option) and move to a test file, load it, and ask to run all tests... I'm seeing TypeError: Cannot read properties of undefined (reading 'results'). I am using it via VSCodium, and it's the latest version (installed yesterday). Is this a bug?
Itβs a bug with crashing out showing an error messages like that. π And the whole UI/Ux with choosing the right connect sequence needs work.
A screenshot of the issue, if it helps:
Confirmed on VS Code (latest version), with latest Calva. I tried connecting as generic, and then tried connecting as Leiningen. Same error.
If I click the green "run tests" triangle on the test ns, the tests do run, but then the console shows that same error again.
If I jack-in as Leiningen, load the test ns, and run all tests, it works as expected.
The difference in the last case is the presence of CIDER middleware, so I wonder if that's something to do with it? I know "some things" in Calva don't work correctly without CIDER...
Yeah, I imagined it was something like that. BTW, I found this issue in a weird way: I was testing a "VSCode API layer" that I'm coding for our Atom fork π