Fork me on GitHub
#nbb
<
2022-11-11
>
Chris McCormick07:11:41

I'm running tests in my project with nbb and running into issues with missing built-ins:

Unresolved var: t/run-test
and
Could not find namespace: clojure.test.tap
I am not sure if this is something I am doing or if it's nbb. Do I need to upgrade my local Clojure?

borkdude07:11:32

Can you make an issue? I’ll get to it today

🙏 1
borkdude07:11:42

Run-test is pretty new

Chris McCormick09:11:56

I have figured out that I was doing cljs.test/async all wrong and I have it working now so there is no urgency on this fix. 😅

borkdude09:11:25

Is

clojure.test.tap
supposed to be a thing in CLJS?

borkdude09:11:10

ClojureScript 1.11.54
cljs.user=> (require '[clojure.test.tap])
Unexpected error (ExceptionInfo) compiling at (<cljs repl>:1:1).

borkdude09:11:32

cljs.user=> (cljs.test/run-test 'foo)
WARNING: Use of undeclared Var cljs.test/run-test at line 1 <cljs repl>

Chris McCormick09:11:03

Yes perhaps not. I just saw it in the clojure.test namespace online.

borkdude09:11:04

That's not ClojureScript though :)

borkdude09:11:59

I'll make an issue with CLJS

Chris McCormick09:11:02

Yes, my mistake sorry!

borkdude09:11:07

run-test should be added

👍 1