blob: dd4994cf28d159f8b9c0043a1dae0734982dd0ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
module.exports = test
var testCmd = require("./utils/lifecycle.js").cmd("test")
function test (args, cb) {
testCmd(args, function (er) {
if (!er) return cb()
if (er.code === "ELIFECYCLE") {
return cb("Test failed. See above for more details.")
}
return cb(er)
})
}
|