Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

gulp mocha/gulp karma hang on execution #873

Closed
mikepc opened this issue Sep 2, 2015 · 3 comments · Fixed by #891
Closed

gulp mocha/gulp karma hang on execution #873

mikepc opened this issue Sep 2, 2015 · 3 comments · Fixed by #891

Comments

@mikepc
Copy link

mikepc commented Sep 2, 2015

Clone the 0.4 branch,
cd into the directory
npm install
bower install
gulp test -> Mocha succeeds, karma hangs.

gulp mocha -> Hangs
-- I was able to get gulp to exit by adding a done(err), to the mocha task to capture the error, which was a mongoose User model not being registered error.

gulp karma -> Hangs, don't know how to get around this one.

Switching back to grunt until we can get this figured out.

@mikepc
Copy link
Author

mikepc commented Sep 2, 2015

I should add this is using test:server, test:client respectively.

@ilanbiala
Copy link
Member

@mikepc Gulp support isn't finalized yet and Grunt should still be used. If you'd like, feel free to help us reach parity with Grunt so we can release Gulp support sooner.

@codydaig
Copy link
Member

codydaig commented Sep 2, 2015

There is a known bug with gulp where it hangs for a bit after tests complete. I encountered this recently with another project. There's a hacky wordaround, but I don't really like it. It should stop hanging after a few seconds (<30), if it doesn't then there's something else funky with it.

ilanbiala added a commit that referenced this issue Sep 26, 2015
Enable running tests through Gulp
closes #873
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants