stop() { winston.debug('[TestServer] stop'); return new Promise((resolve) => { if (!this._child || this._child.killed) { resolve(); } this._child.on('close', () => resolve()); this._child.kill(); this._child = void 0; }); }
stop() { winston.debug('[TestServer] stop'); return new Promise((resolve) => { if (!this._child || this._child.killed) { resolve(); } this._child.on('close', () => resolve()); this._child.kill(); this._child = void 0; }); }