Skip to content

armgit / mocha

Public Imported from GitHub
0

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

misc

Tj Holowaychuk6ae4a6b00fdd
diff --git a/test/unit/uncaught.js b/test/unit/uncaught.js
index 98861e1c..e1964da7 100644
--- a/test/unit/uncaught.js
+++ b/test/unit/uncaught.js
@@ -1,9 +1,10 @@
describe('uncaught', function(){
it('should report properly', function(done){
- // if you uncomment this :)
process.nextTick(function(){
- throw new Error("I'm uncaught!");
- });
- });
-});
\ No newline at end of file
+ // if you uncomment this :)
+ // throw new Error("I'm uncaught!");
+ done();
+ })
+ })
+})
\ No newline at end of file