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: Object #<Assertion> has no method 'throw' #130

Open
TuurDutoit opened this issue Apr 4, 2015 · 2 comments
Open

TypeError: Object #<Assertion> has no method 'throw' #130

TuurDutoit opened this issue Apr 4, 2015 · 2 comments

Comments

@TuurDutoit
Copy link

I get this error when running my tests on node.js (with Mocha), but it works perfectly in the browser (Chrome 41). throwException and throwError are working fine.

On node.js, I'm using Mocha 2.2.1 and Expect.js 0.3.1, both from NPM.
In the browser, I'm using Mocha 2.2.1 and Expect.js 0.3.1, both downloaded from the respective GitHub repos.

@vipuldelwadia
Copy link

I think this is fixed in 0.3.1: 688c456

@famousgarkin
Copy link

+1, same issue

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

3 participants