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

undefined is not a constructor (evaluating 'test.isPending()') at undefined #3

Open
limzykenneth opened this issue Feb 19, 2017 · 0 comments

Comments

@limzykenneth
Copy link

limzykenneth commented Feb 19, 2017

I can't find any follow up discussion on this issue and I'm having problem with it so I thought I open one here.

I've tried both mocha v2.5.3 and v3.2.0. These are the typical errors I'm getting

Warning: TypeError: undefined is not a constructor (evaluating 'test.isPending()')
    at undefined (phantomjs://code/bridge.js:47)
    at emit (http://localhost:9001/test/js/mocha.js:588)
    at runSuite (http://localhost:9001/test/js/mocha.js:4720)
    at run (http://localhost:9001/test/js/mocha.js:4795)
    at run (http://localhost:9001/test/js/mocha.js:1701)
    at run (http://localhost:9001/test/js/mocha.js:5584)
    at undefined (phantomjs://code/bridge.js:101)

Using v1.0.2 (prior to adding the test.isPending() line) with the latest version of mocha v3.2.0 works perfectly fine though (v2.5.3 as well).

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

1 participant