-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Error: timeout of 0ms exceeded #1300
Closed
Comments
+1 |
Also, negative numbers don't disable it, although I don't know if that was actually a thing before. |
travisjeffery
added a commit
that referenced
this issue
Aug 6, 2014
resolves #1300: passing 0 to timeout() will disable timeouts
It looks like this doesn't work for describe('acceptance', function() {
this.timeout(0);
beforeEach(function(done) {
setTimeout(done, 1);
});
it('should not fail', function() {});
}); EDIT: this test also fails. describe('acceptance', function() {
this.timeout(0);
describe('inner', function() {
it('should not fail', function(done) {
setTimeout(done, 1);
});
});
}); I can move this to a separate issue if you want. |
Thanks! |
This was referenced Aug 18, 2014
tandrewnichols
pushed a commit
to tandrewnichols/mocha
that referenced
this issue
Dec 15, 2014
tandrewnichols
pushed a commit
to tandrewnichols/mocha
that referenced
this issue
Dec 15, 2014
- added tests - rebuilt mocha.js
grawk
added a commit
to krakenjs/generator-kraken
that referenced
this issue
Jun 27, 2016
grawk
added a commit
to krakenjs/generator-kraken
that referenced
this issue
Jun 29, 2016
* update license to reflect PayPal OSS * fix for #206 * upgrade travis node versions * use yeoman-test and yeoman-assert modules per deprecation warnings * use this.timeout(0) in tests as mocha has fixed issue mochajs/mocha#1300
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Getting this error when specifiying
Which normally disables timeouts altogether, now it is interpreting it literally.
The text was updated successfully, but these errors were encountered: