This repository has been archived by the owner on Feb 26, 2021. It is now read-only.
Dependency issues: Importing Nightmare (for the new dispatch:mocha) fails #219
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
@aldeed 's new dispatch:mocha works great on newly-created blank apps. But after installing on Meteor Todos app as a reference, some issues come up.
Server tests work fine, as expected. But client tests with Nightmare seem to hang. It's failing silently with no errors in 'debug'.
Interestingly, if you try to use Nightmare in the Todo app server side you get
Error: Cannot find module './actions'
This does not happen on a newly created app, which runs fine.Updating packages or meteor does not help.
This pull request only adds the npm script 'new-mocha', and also a reproduction file
./server/reproduction.nightmare.js
for discussion.Meteor-Community-Packages/meteor-mocha#11