New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Karma runner/Jasmine 2.0 #15

Closed
maximedupre opened this Issue Dec 19, 2013 · 44 comments

Comments

Projects
None yet
@maximedupre

maximedupre commented Dec 19, 2013

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?).

Thank you!

@tomwayson

This comment has been minimized.

tomwayson commented Dec 21, 2013

👍

1 similar comment
@mkolodny

This comment has been minimized.

mkolodny commented Dec 23, 2013

+1

@matthewhall

This comment has been minimized.

matthewhall commented Dec 23, 2013

Upgrading to Jasmine 2.0 would be great.

@nbhuy89

This comment has been minimized.

nbhuy89 commented Dec 31, 2013

+1

10 similar comments
@firede

This comment has been minimized.

firede commented Jan 2, 2014

👍

@arieh

This comment has been minimized.

arieh commented Jan 5, 2014

+1

@CrossEye

This comment has been minimized.

CrossEye commented Jan 6, 2014

+1

@SQiShER

This comment has been minimized.

SQiShER commented Jan 7, 2014

👍

@leifhanack

This comment has been minimized.

leifhanack commented Jan 7, 2014

+1

@ansgarkonermann

This comment has been minimized.

ansgarkonermann commented Jan 7, 2014

+1

@gesellix

This comment has been minimized.

gesellix commented Jan 7, 2014

👍

@ivan4th

This comment has been minimized.

ivan4th commented Jan 9, 2014

+1

@jhollingworth

This comment has been minimized.

jhollingworth commented Jan 14, 2014

👍

@uuilee

This comment has been minimized.

uuilee commented Jan 14, 2014

+1

@shidhincr

This comment has been minimized.

shidhincr commented Jan 15, 2014

+1 .. Hoping that some one picks this up fast

@robmcguinness

This comment has been minimized.

robmcguinness commented Feb 1, 2014

+1

7 similar comments
@gedbac

This comment has been minimized.

gedbac commented Feb 1, 2014

+1

@aymericbeaumet

This comment has been minimized.

Member

aymericbeaumet commented Feb 4, 2014

👍

@betaorbust

This comment has been minimized.

betaorbust commented Feb 4, 2014

👍

@jcfranco

This comment has been minimized.

jcfranco commented Feb 4, 2014

👍

@JGSimko

This comment has been minimized.

JGSimko commented Feb 6, 2014

👍

@NicoSantangelo

This comment has been minimized.

NicoSantangelo commented Feb 7, 2014

👍

@adammichalik

This comment has been minimized.

adammichalik commented Feb 7, 2014

👍

@7Silvan

This comment has been minimized.

7Silvan commented Feb 7, 2014

👍

@endorama

This comment has been minimized.

endorama commented Feb 7, 2014

+1

1 similar comment
@mjhamm75

This comment has been minimized.

mjhamm75 commented Feb 10, 2014

+1

@lstrzelecki

This comment has been minimized.

lstrzelecki commented Feb 10, 2014

👍

@pkucharski

This comment has been minimized.

pkucharski commented Feb 10, 2014

👍

@Xeloss

This comment has been minimized.

Xeloss commented Feb 10, 2014

👍

@Zaitsev

This comment has been minimized.

Zaitsev commented Feb 13, 2014

+1 👍

@iladarsda

This comment has been minimized.

iladarsda commented Feb 14, 2014

👍

@tomwayson

This comment has been minimized.

tomwayson commented 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

This comment has been minimized.

Contributor

vojtajina commented Feb 15, 2014

Ok, this is in, check out 0.2.0 on NPM. See #18

Big thanks to @r-park.

@vojtajina vojtajina closed this Feb 15, 2014

@tomwayson

This comment has been minimized.

tomwayson commented 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

This comment has been minimized.

jprichardson commented Aug 5, 2014

Could you publish the latest version to npm?

@aymericbeaumet

This comment has been minimized.

Member

aymericbeaumet commented Aug 7, 2014

The latest Jasmine version?

@jprichardson

This comment has been minimized.

jprichardson commented Aug 8, 2014

Ya. According to https://www.npmjs.org/package/karma-jasmine it's still 0.1.5?

@SeanCannon

This comment has been minimized.

SeanCannon commented Aug 8, 2014

You need to install like this: npm install karma-jasmine@2_0

@aymericbeaumet

This comment has been minimized.

Member

aymericbeaumet commented 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

This comment has been minimized.

wcandillon commented Aug 25, 2014

thks @SeanCannon !

@ohjames

This comment has been minimized.

ohjames commented 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

This comment has been minimized.

Member

dignifiedquire commented May 24, 2016

@ohjames this is not true anymore, the current release of karma-jasmine is fully compatible with jasmine 2

@ohjames

This comment has been minimized.

ohjames commented 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

This comment has been minimized.

Member

dignifiedquire commented May 24, 2016

@ohjames you need to install jasmine-core manually https://github.com/karma-runner/karma-jasmine#jasmine-20-docs that might have been the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment