Skip to content

armgit / mocha

Public Imported from GitHub
0

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

Removed SIGINT trap for now

Tj Holowaychuk854e24263044
diff --git a/lib/reporters/base.js b/lib/reporters/base.js
index 91c04009..260e3bda 100644
--- a/lib/reporters/base.js
+++ b/lib/reporters/base.js
@@ -104,16 +104,6 @@ exports.list = function(failures){
});
};
-/**
- * Unhide cursor on ^C.
- */
-
-process.on('SIGINT', function(){
- exports.cursor.show();
- console.log('\n');
- process.exit(1);
-});
-
/**
* Initialize a new `Base` reporter.
*