mirror of
https://github.com/Hopiu/webapi-eca.git
synced 2026-03-17 06:20:23 +00:00
18 lines
No EOL
390 B
JavaScript
18 lines
No EOL
390 B
JavaScript
var path = require('path');
|
|
//FIXME handle EADDR in use!
|
|
exports.setUp = function(cb) {
|
|
this.srv = require('child_process').fork(path.resolve(__dirname, '..', 'js', 'server'), ['2']);
|
|
cb();
|
|
};
|
|
|
|
exports.testSystem = function(test){
|
|
|
|
test.ok(false, "needs implementation");
|
|
test.done();
|
|
};
|
|
|
|
exports.tearDown = function(cb) {
|
|
this.srv.send('die');
|
|
this.srv = null;
|
|
cb();
|
|
}; |