]> gerrit.simantics Code Review - simantics/district.git/blob - org.simantics.maps.server/node/node-v4.8.0-win-x64/node_modules/npm/lib/test.js
Adding integrated tile server
[simantics/district.git] / org.simantics.maps.server / node / node-v4.8.0-win-x64 / node_modules / npm / lib / test.js
1 module.exports = test
2
3 var testCmd = require("./utils/lifecycle.js").cmd("test")
4
5 function test (args, cb) {
6   testCmd(args, function (er) {
7     if (!er) return cb()
8     if (er.code === "ELIFECYCLE") {
9       return cb("Test failed.  See above for more details.")
10     }
11     return cb(er)
12   })
13 }