Open JarrodCTaylor opened 8 years ago
Hi @JarrodCTaylor
Thank you for the report and the thoughtful repro case. I'll look at it soon but I suspect it is a bug.
Great thanks. If I can be of any assistance let me know.
Any ideas on this, I am experiencing the same issue. I have a test setup that works in figwheel that uses optimization :none
in browser but fails in phantom with :simple
optimization.
I think I found the issue, there is note about overwriting the file-min: https://github.com/cljsjs/packages/tree/master/react#testutils
@ckirkendall Interested to hear if you have success.
@JarrodCTaylor - bingo! I got it working. I added the following to my compiler options.
:foreign-libs
[{:provides ["cljsjs.react"]
:file "https://cdnjs.cloudflare.com/ajax/libs/react/15.3.2/react-with-addons.js"
:file-min "https://cdnjs.cloudflare.com/ajax/libs/react/15.3.2/react-with-addons.js"}]
Hi @ckirkendall !
Thank you for the useful answer! I'll close this issue once I point to that resource in the README.
I am having some difficulty updating to the latest versions. I created a example project that demonstrates the issue.
Tests run as desired when using
After updating dependencies to and making no other changes
The following error occurs
Am I overlooking something?