Skip to content

Karma runner/Jasmine 2.0 #15

Closed
Closed

Description

@maximedupre

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!

Activity

  1. tomwayson commented on Dec 21, 2013

    @tomwayson

    👍

  2. mkolodny commented on Dec 23, 2013

    @mkolodny

    +1

  3. matthewhall commented on Dec 23, 2013

    @matthewhall

    Upgrading to Jasmine 2.0 would be great.

  4. nbhuy89 commented on Dec 31, 2013

    @nbhuy89

    +1

  5. firede commented on Jan 2, 2014

    @firede

    👍

  6. arieh commented on Jan 5, 2014

    @arieh

    +1

  7. CrossEye commented on Jan 6, 2014

    @CrossEye

    +1

  8. SQiShER commented on Jan 7, 2014

    @SQiShER

    👍

  9. leifhanack commented on Jan 7, 2014

    @leifhanack

    +1

  10. ansgarkonermann commented on Jan 7, 2014

    @ansgarkonermann

    +1

  11. gesellix commented on Jan 7, 2014

    @gesellix

    👍

  12. ivan4th commented on Jan 9, 2014

    @ivan4th

    +1

  13. jhollingworth commented on Jan 14, 2014

    @jhollingworth

    👍

  14. uuilee commented on Jan 14, 2014

    @uuilee

    +1

  15. shidhincr commented on Jan 15, 2014

    @shidhincr

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

  16. 15 remaining items

  17. iladarsda commented on Feb 14, 2014

    @iladarsda

    👍

  18. tomwayson commented on Feb 14, 2014

    @tomwayson

    @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.

  19. vojtajina commented on Feb 15, 2014

    @vojtajina
    Contributor

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

    Big thanks to @r-park.

  20. tomwayson commented on Feb 16, 2014

    @tomwayson

    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!

  21. jprichardson commented on Aug 5, 2014

    @jprichardson

    Could you publish the latest version to npm?

  22. aymericbeaumet commented on Aug 7, 2014

    @aymericbeaumet
    Member

    The latest Jasmine version?

  23. jprichardson commented on Aug 8, 2014

    @jprichardson

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

  24. SeanCannon commented on Aug 8, 2014

    @SeanCannon

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

  25. aymericbeaumet commented on Aug 11, 2014

    @aymericbeaumet
    Member

    We support both versions as Jasmine 1.x is still largely spread. To enable 2.x support, proceed as @SeanCannon says (see here).

  26. wcandillon commented on Aug 25, 2014

    @wcandillon
  27. insidewhy commented on May 24, 2016

    @insidewhy

    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.

  28. dignifiedquire commented on May 24, 2016

    @dignifiedquire
    Member

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

  29. insidewhy commented on May 24, 2016

    @insidewhy

    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.

  30. dignifiedquire commented on May 24, 2016

    @dignifiedquire
    Member

    @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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions