Closed AdrienLemaire closed 10 years ago
What does your test directory look like?
Here is a tree of my test/
dir: http://sprunge.us/GCPh.
@samhatoum any other idea ? :)
Perhaps you have a watcher configured in both Karma and in RTD? you can try running karma without RTD and see if that makes any difference
Not sure how to run karma on its own. If I run karma start from test/
, I get error:
Error: No provider for "framework:mocha"! (Resolving: framework:mocha)
I I run it from test/rtd/
, it's fine, but then karma run will fail with:
[2014-03-03 08:37:45.781] [DEBUG] config - Loading config /home/dori/Projects/CoinsManager/test/karma.conf.js
PhantomJS 1.9.0 (Linux) ERROR
TypeError: '[object Object]' is not a function (evaluating 'jQuery(document)')
at /home/dori/Projects/CoinsManager/app/client/views/includes/jquery.formalize.js:6
PhantomJS 1.9.0 (Linux) ERROR
TypeError: '[object Object]' is not a function (evaluating 'jQuery(document)')
at /home/dori/Projects/CoinsManager/app/client/views/includes/jquery.formalize.js:6
PhantomJS 1.9.0 (Linux): Executed 0 of 0 ERROR (0 secs / 0 secs)
PhantomJS 1.9.0 (Linux) ERROR
TypeError: '[object Object]' is not a function (evaluating 'jQuery(document)')
You can find both my karma.conf.js and rtd.conf.js files here. By reading them, anything looks wrong to you?
I have the same problem upon running the example application - https://github.com/xolvio/meteor-rtd-example-project
only run twice on unit tests though.
acceptance and coverage tests run once.
What IDE are you using? I believe this may have something to do with "safe delete" that WebStorm (others) use
I use sublime text. Have not used web storm. But it appears you had this fixed in velocity because I don't have that error there.
Sent from my iPhone
On 18 May, 2014, at 3:43 am, "Sam Hatoum" notifications@github.com wrote:
What IDE are you using? I believe this may have something to do with "safe delete" that WebStorm (others) use
— Reply to this email directly or view it on GitHub.
That's great to hear. I'm unlikely to put energy to fix this error in RTD as velocity is where I"m putting my efforts so I'm closing this issue as won't fix
Everytime my tests are re-run, they are executed twice (spoils the output, and make tests twice slower): http://sprunge.us/ENWM
Any idea why it's running twice, and how to fix this ? I don't see any related config in my
test/karma.conf.js