diff --git a/package.json b/package.json index 3299800..e37b310 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,6 @@ }, "devDependencies": { "glob": "^5.0.10", - "sass-spec": "^3.5.0-1", - "tripwire": "^0.10.0" + "sass-spec": "^3.5.0-1" } } diff --git a/test/sass-spec.js b/test/sass-spec.js index fb9dcff..d2374e3 100644 --- a/test/sass-spec.js +++ b/test/sass-spec.js @@ -7,29 +7,13 @@ var fs = require('fs'); var path = require('path'); var glob = require('glob'); -var tripwire = require('tripwire'); var spec = require('sass-spec'); var scss = require('../'); -var timeout = 3000; var contents, file, errorFile, i; var fails = []; var files = glob.sync(path.join(spec.dirname, 'spec/**/input.scss')); -// ----------------------------------------------------------------------------- -// We use tripwire to detect a long running process. If the process runs too -// long we kill it and exit(1). -// ----------------------------------------------------------------------------- - -process.on('uncaughtException', function (e) { - if (undefined !== tripwire.getContext()) { - console.log('The event loop was blocked for longer than ' + timeout + ' milliseconds'); - } - process.exit(1); -}); - -tripwire.resetTripwire(timeout, {}); - // ----------------------------------------------------------------------------- // Tokenize sass-spec. The tokenizer have any error conditions. // If an uncaught exception is thrown we report the failure to the user.