Compiling ClojureScript.
Running ClojureScript test: unit
TypeError: 'undefined' is not a valid argument for 'in' (evaluating 'c[0] in d')
file:///var/folders/8f/fz0x0bx553sdvqq8n398xkcw0000gn/T/runner8191833059560138797.js.html:50 in ha
file:///var/folders/8f/fz0x0bx553sdvqq8n398xkcw0000gn/T/runner8191833059560138797.js.html:9669
file:///var/folders/8f/fz0x0bx553sdvqq8n398xkcw0000gn/T/runner8191833059560138797.js.html:10349
ReferenceError: Can't find variable: cemerick
ERROR: cemerick.cljs.test was not required.
You can resolve this issue by ensuring [cemerick.cljs.test] appears
in the :require clause of your test suite namespaces.
Also make sure that your build has actually included any test files.
Unsafe JavaScript attempt to access frame with URL about:blank from frame with URL file:///var/folders/8f/fz0x0bx553sdvqq8n398xkcw0000gn/T/runner8191833059560138797.js. Domains, protocols and ports must match.
Unsafe JavaScript attempt to access frame with URL about:blank from frame with URL file:///var/folders/8f/fz0x0bx553sdvqq8n398xkcw0000gn/T/runner8191833059560138797.js. Domains, protocols and ports must match.
Unsafe JavaScript attempt to access frame with URL about:blank from frame with URL file:///var/folders/8f/fz0x0bx553sdvqq8n398xkcw0000gn/T/runner8191833059560138797.js. Domains, protocols and ports must match.
Subprocess failed
Test works just fine if I use default ecmascript3 or ecmascript5, so only ecmascript5-strict with advanced optimizations causes such error. I made a diff from ecmascript5 and ecmascript5-strict result file and indeed one block is missing, which I guess is used by test framework
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. :-)
Hi,
I just found out that my test fails using the following clousure compiling options:
Here the command output:
Test works just fine if I use default
ecmascript3
orecmascript5
, so onlyecmascript5-strict
with advanced optimizations causes such error. I made a diff fromecmascript5
andecmascript5-strict
result file and indeed one block is missing, which I guess is used by test frameworkJust for reference, my project config: