Dan Rzeppa
10 years ago
3 changed files with 17 additions and 1 deletions
@ -0,0 +1,15 @@ |
|||
var childProcess = require("child_process") |
|||
var path = require("path") |
|||
|
|||
var env = process.env |
|||
env.NODE_ENV = "test" |
|||
|
|||
var options={ |
|||
env:env, |
|||
stdio:"inherit" |
|||
} |
|||
|
|||
var command = path.join(".","node_modules",".bin","mocha") |
|||
try { |
|||
childProcess.execSync(command,options) |
|||
}catch(ex){} |
@ -1 +1,2 @@ |
|||
--reporter dot |
|||
--ui tdd |
|||
|
Loading…
Reference in new issue