]> gerrit.simantics Code Review - simantics/district.git/blob - lib/test.js
Hide "enabled" column for non-component type tech type tables
[simantics/district.git] / 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 }