Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

Fix tests to be faster.

Travis Jeffery9db498792879
diff --git a/test/acceptance/failing/timeout.js b/test/acceptance/failing/timeout.js
index e92eef25..e52dde4c 100644
--- a/test/acceptance/failing/timeout.js
+++ b/test/acceptance/failing/timeout.js
@@ -1,13 +1,12 @@
-
describe('timeout', function(){
- this.timeout(20);
+ this.timeout(1);
it('should be honored with sync suites', function(){
- sleep(30);
+ sleep(2);
});
it('should be honored with async suites', function(done){
- sleep(30);
+ sleep(2);
done();
});