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

Async assertion failure exits grunt in Fatal error #3

Closed
Bartvds opened this issue May 16, 2013 · 7 comments
Closed

Async assertion failure exits grunt in Fatal error #3

Bartvds opened this issue May 16, 2013 · 7 comments

Comments

@Bartvds
Copy link

Bartvds commented May 16, 2013

If you paste this in the test and run grunt it will exit instantly on a Fatal error:

it('async fails', function (done) {
    process.nextTick(function () {
        (1).should.equal(1000);
        done();
    });
});
@Bartvds
Copy link
Author

Bartvds commented May 16, 2013

It seems more server-side grunt + mocha plugins suffer from this: yaymukund/grunt-simple-mocha#16

@RomanMinkin
Copy link

Hi!

Just tested with Node.js v0.10.12, mocha@1.12.0, grunt-cafe-mocha@0.1.8, grunt@0.4.1, should@1.2.2 all good. No error anymore.

@RomanMinkin
Copy link

Nope, i was wrong =(

@Bartvds
Copy link
Author

Bartvds commented Jul 20, 2013

Haha, nice ;)

I now use https://github.com/pghalliday/grunt-mocha-test. It's fully featured, properly tested and actively maintained.

@jdavis
Copy link
Owner

jdavis commented Jul 20, 2013

Ouch :(

@devenv
Copy link

devenv commented Jul 6, 2014

Thanks @Bartvds - using grunt-mocha-test now too :)
Waiting for a fix though...

@jdavis
Copy link
Owner

jdavis commented Jul 6, 2014

Yeah, please do use grunt-mocha-test. I'm not maintaining this one as I haven't been using Node/Grunt much. I may make a notice on the README.

@jdavis jdavis closed this as completed Jul 6, 2014
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

4 participants