Skip to content

armgit / mocha

Public Imported from GitHub
0

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

Remove unused requires, vm and exec

Juzer Alib0162b6c05d4
diff --git a/bin/_mocha b/bin/_mocha
index 446fca5d..16ff0acd 100755
--- a/bin/_mocha
+++ b/bin/_mocha
@@ -5,10 +5,8 @@
*/
var program = require('commander')
- , exec = require('child_process').exec
, path = require('path')
, fs = require('fs')
- , vm = require('vm')
, resolve = path.resolve
, exists = fs.existsSync || path.existsSync
, Mocha = require('../')