You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, hopefully this is the right place to post. I was wondering when Jasmine 2.0 will be available with karma (karma-jasmine). I like how jasmine tests async functions in 2.0, but currently there is no way for me to use Jasmine 2.0 (or is there?).
@vojtajina what do you think about @just-boris's idea about making a separate adapter (karma-jasmine-2) for Jasmine 2 based on PR (#18) that @r-park opened? Seems like a good idea to me. That way @r-park would not have to deal w/ backwards compatibility issues. Maybe you could create the repo and add him as a contrib to get it going. Just a thought.
It seems really weird to me to have to get an older version of karma-jasmine to get a newer version of jasmine, jasmine 1's ability to test asynchronous code is pretty poor.
Weird, I was on karma-jasmine 1.0.2 and seemed to lack done, until I downgraded to 0.2.2. Using some ancient version of node/npm on a client system, maybe some bug or stupid mistake.
Activity
tomwayson commentedon Dec 21, 2013
👍
mkolodny commentedon Dec 23, 2013
+1
matthewhall commentedon Dec 23, 2013
Upgrading to Jasmine 2.0 would be great.
nbhuy89 commentedon Dec 31, 2013
+1
firede commentedon Jan 2, 2014
👍
arieh commentedon Jan 5, 2014
+1
CrossEye commentedon Jan 6, 2014
+1
SQiShER commentedon Jan 7, 2014
👍
leifhanack commentedon Jan 7, 2014
+1
ansgarkonermann commentedon Jan 7, 2014
+1
gesellix commentedon Jan 7, 2014
👍
ivan4th commentedon Jan 9, 2014
+1
jhollingworth commentedon Jan 14, 2014
👍
uuilee commentedon Jan 14, 2014
+1
shidhincr commentedon Jan 15, 2014
+1 .. Hoping that some one picks this up fast
15 remaining items
iladarsda commentedon Feb 14, 2014
👍
tomwayson commentedon Feb 14, 2014
@vojtajina what do you think about @just-boris's idea about making a separate adapter (karma-jasmine-2) for Jasmine 2 based on PR (#18) that @r-park opened? Seems like a good idea to me. That way @r-park would not have to deal w/ backwards compatibility issues. Maybe you could create the repo and add him as a contrib to get it going. Just a thought.
vojtajina commentedon Feb 15, 2014
Ok, this is in, check out 0.2.0 on NPM. See #18
Big thanks to @r-park.
tomwayson commentedon Feb 16, 2014
Thanks @vojtajina and @r-park! I've updated my project to use v0.2.1 and the new
done()style async tests are working great!jprichardson commentedon Aug 5, 2014
Could you publish the latest version to
npm?aymericbeaumet commentedon Aug 7, 2014
The latest Jasmine version?
jprichardson commentedon Aug 8, 2014
Ya. According to https://www.npmjs.org/package/karma-jasmine it's still
0.1.5?SeanCannon commentedon Aug 8, 2014
You need to install like this:
npm install karma-jasmine@2_0aymericbeaumet commentedon Aug 11, 2014
We support both versions as Jasmine 1.x is still largely spread. To enable 2.x support, proceed as @SeanCannon says (see here).
wcandillon commentedon Aug 25, 2014
thks @SeanCannon !
insidewhy commentedon May 24, 2016
It seems really weird to me to have to get an older version of karma-jasmine to get a newer version of jasmine, jasmine 1's ability to test asynchronous code is pretty poor.
dignifiedquire commentedon May 24, 2016
@ohjames this is not true anymore, the current release of karma-jasmine is fully compatible with jasmine 2
insidewhy commentedon May 24, 2016
Weird, I was on karma-jasmine 1.0.2 and seemed to lack
done, until I downgraded to 0.2.2. Using some ancient version of node/npm on a client system, maybe some bug or stupid mistake.dignifiedquire commentedon May 24, 2016
@ohjames you need to install
jasmine-coremanually https://github.com/karma-runner/karma-jasmine#jasmine-20-docs that might have been the issue