Open lynndylanhurley opened 10 years ago
you need to include purnam.test in the headers
(ns your.name.space (:require [purnam.test] ....)
Otherwise this will fail
I get those errors when I run the tests from this repo. I haven't changed a single line of code.
Here are the failing tests: https://gist.github.com/9592665
you may be using an older version of karma that doesn't have jasmine built-in.
I'm using the latest (v0.12). Which version are you using?
Hmmm... Im using 0.10.* - an older version. Can you try deleting the karma.js file and doing karma init in the directory to set it up again? It may be that the config file is not compatible
No luck - I'm still getting the same errors.
This is the file that was generated after I ran karma init
:
https://gist.github.com/9603651
These are the resulting errors (same as before):
That's so strange. I'll install karma later today and see if I can reproduce it.
On 18/03/2014, at 4:09, Lynn Dylan Hurley notifications@github.com wrote:
No luck - I'm still getting the same errors.
This is the file that was generated after I ran karma init: https://gist.github.com/9603651
These are the resulting errors (same as before):
— Reply to this email directly or view it on GitHub.
Cool, thanks. I'll downgrade to v0.10 and see if that helps.
hmmmm... I've upgraded and its fine I'm still not getting the errors. it may be easier if you email your entire project to me: z
It's literally just this project. Steps to reproduce the problem:
Clone this project and compile using cljsbuild:
git clone https://github.com/purnam/example.purnam.test.git
cd example.purnam.test
lein cljsbuild auto
In a new window in the same directory:
karma start
That's it.
Is there any more information that I can send that would help diagnose the issue?
Okay,
I upgraded to the latest version (2.2) of karma-jasmine and I have finally reproduced this error
I was using version 1.4 before and they must have changed it. You can get around it by installing the older one:
npm -g uninstall karma-jasmine npm -g install karma-jasmine@0.1.4
Yeah I do. I've raised an issue with the jasmine project to figure out what has changed.
On 18/03/2014, at 10:00, Lynn Dylan Hurley notifications@github.com wrote:
Ahh ok, thanks @zcaudate! Do you plan on adding support for the latest karma-jasmine?
— Reply to this email directly or view it on GitHub.
All tests fail with the same error:
This is after a fresh clone of this repo. I'm using the following karma packages/versions: