-
-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using cljs.test instead of clojure.test throws a traceback #158
Comments
With 0.3.2:
Are you sure you are using 0.3.2? |
Could you give a full standalone |
Ok, I think I figured out a repro, let me know if it works for you:
(ns hello
(:require
[sitefox.ui :refer [log]]))
(log "hi") Output I see:
(the referenced sitefox commit is the one still containing |
I am not sure if it's related but this also throws:
The error message I see when running with nbb is slightly different:
|
That's a different error though? In nbb and also CLJS you can use |
Yes the second one is a different error. The first error above was the one I mentioned in chat. |
Sorry for the confusion, I thought I was reading your first message because I clicked on that but then read your second message and skipped over the first |
Strangely I can repro it like this, so that simplifies things: (ns hello
(:require
[cljs.test :refer [is]])) |
Releasing as v0.3.3 |
Tested my failing cases and it works now thanks! |
version
0.3.2
platform
Ubuntu GNU/Linux, Node v16.13.1.
problem
If
cljs.test
is required the following error is thrown by nbb:If
clojure.test
is required instead it works fine.repro
In a
.cljs
file requirecljs.test :refer-macros [is]
.expected behavior
It should work the same as if
clojure.test
was required instead.The text was updated successfully, but these errors were encountered: