-
Notifications
You must be signed in to change notification settings - Fork 11
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
ReferenceError: Can't find variable: Mocha when running test #7
Comments
Can you share your |
runner.html:
Gulpfile.js:
|
ah yeah can you call |
Thank you for the feedback. I've now changed |
Do you still have the issue if you load |
I now rearranged the script to include mocha.js as the first script and this seems to have done the trick. It now also works with mocha.setup as expected. Would be please be so kind to elaborate a little on what went wrong before in the first place? Thanks a lot! |
Glad it's working.
I don't know what's going on in |
Unlikely as it does work when running directly in the browser but I'm also glad it does work now. Thank you! |
related: ReferenceError: Can't find variable: Mocha when running test Issue philschatz#7 nathanboktae/mocha-phantomjs-core nathanboktae/mocha-phantomjs-core#7
related: ReferenceError: Can't find variable: Mocha when running test Issue philschatz#7 nathanboktae/mocha-phantomjs-core nathanboktae/mocha-phantomjs-core#7
After upgrading to the latest version if gulp-mocha-phantomjs (0.8.0) that is depending on mocha-phantomjs-core (1.0.0) and therefore also got upgraded I have a set of test that report the following error:
All required files in runner.html seem to be available and the test do work as expected in an actual browser like FF or Chrome. Any help would be appreciated.
The text was updated successfully, but these errors were encountered: