Skip to content
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

TypeError: 'undefined' is not a function (evaluating 'jasmine.addMatchers') #20

Closed
br1anchen opened this issue Jan 20, 2014 · 3 comments

Comments

@br1anchen
Copy link

I reported same issues under jasmine-jquery project, but no one assigned yet. I have no idea about this issus.

velesin/jasmine-jquery#168

I just post here to ask for help then :)

PS: I am using jasmine-jquery 2.0.0 and karma-jasmine 0.1.5

@nicosantangelo
Copy link

This has to do with karma-jasmine using an older version of jasmine.js, you'll have to use jasmine-jquery 1.7 or older, or wait until a version of karma that uses Jasmine 2.0.

There are a few issues opened with this, like #15

@shanti2530
Copy link

I have updated to v0.2.2 and having a similar error
TypeError: 'undefined' is not a function (evaluating 'done()')

I would like to update to jasmine 2.0 as I would like to use the new async features.
Do you have any clue to what could be the problem?

@pkozlowski-opensource
Copy link
Member

Guys, there is already support for Jasmine 2 in the 0.2.x version if this plugin. You can install it using the 2_0 tag: npm install karma-jasmine@2_0.

Closing this one as duplicate of #31

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants