-
Notifications
You must be signed in to change notification settings - Fork 32
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
Error with preamble #91
Comments
I looked into what However when I opened up the generated html in firefox, and ran the command Hope this helps. |
Thank you for the excellent testcase. Your repo tests properly when using clojurescript.test Some recent changes to the phantom/slimerjs test runner to eliminate security context warnings seem to cause another set of problems; here and #88. I'll dig into it soon. Probably best to just use |
I tested my code with |
Sorry for the troubles, but I've deprecated this project. Please see the notice at the top of the repo's README. This is a good thing, fundamentally. :-) |
Hello,
I am trying to add d3 to a preamble for testing. But if I do, my tests don't run.
I have created a minimal case which demonstrates my problem here. I have tried using both slimerjs and phantomjs to no success.
If I do
lein cljsbuild test
, I get this error:If, however, I remove the preamble on line 31 in project.clj, tests do run. Output:
I think that the error is due to the fact that d3 uses UTF-8 symbols like symbols for π, ε etc and runner.js doesn't seem to define a charset. But I am not sure.
Thanks
The text was updated successfully, but these errors were encountered: