(line)
| 396 | } |
| 397 | |
| 398 | onStderrLine(line) { |
| 399 | this.emit('stderr', line); |
| 400 | this._logger.log('[err]', line); |
| 401 | if (this._portCallback) { |
| 402 | const matches = line.match(/Debugger listening on ws:\/\/.+:(\d+)\/.+/); |
| 403 | if (matches) { |
| 404 | this._portCallback(matches[1]); |
| 405 | this._portCallback = null; |
| 406 | } |
| 407 | } |
| 408 | if (this._stderrLineCallback) { |
| 409 | this._stderrLineCallback(line); |
| 410 | this._stderrLineCallback = null; |
| 411 | } else { |
| 412 | this._unprocessedStderrLines.push(line); |
| 413 | } |
| 414 | } |
| 415 | |
| 416 | httpGet(host, path, hostHeaderValue) { |
| 417 | this._logger.log('[test]', `Testing ${path}`); |
no test coverage detected