mirror of
https://github.com/TheBinaryNinja/tvapp2.git
synced 2026-06-05 06:45:41 -04:00
build(deps): bump playwright from 1.49.1 to 1.50.1
This commit is contained in:
6
node_modules/playwright/lib/worker/workerMain.js
generated
vendored
6
node_modules/playwright/lib/worker/workerMain.js
generated
vendored
@@ -71,17 +71,19 @@ class WorkerMain extends _process.ProcessRunner {
|
||||
this._runFinished.resolve();
|
||||
process.on('unhandledRejection', reason => this.unhandledError(reason));
|
||||
process.on('uncaughtException', error => this.unhandledError(error));
|
||||
process.stdout.write = chunk => {
|
||||
process.stdout.write = (chunk, cb) => {
|
||||
var _this$_currentTest;
|
||||
this.dispatchEvent('stdOut', (0, _ipc.stdioChunkToParams)(chunk));
|
||||
(_this$_currentTest = this._currentTest) === null || _this$_currentTest === void 0 || _this$_currentTest._tracing.appendStdioToTrace('stdout', chunk);
|
||||
if (typeof cb === 'function') process.nextTick(cb);
|
||||
return true;
|
||||
};
|
||||
if (!process.env.PW_RUNNER_DEBUG) {
|
||||
process.stderr.write = chunk => {
|
||||
process.stderr.write = (chunk, cb) => {
|
||||
var _this$_currentTest2;
|
||||
this.dispatchEvent('stdErr', (0, _ipc.stdioChunkToParams)(chunk));
|
||||
(_this$_currentTest2 = this._currentTest) === null || _this$_currentTest2 === void 0 || _this$_currentTest2._tracing.appendStdioToTrace('stderr', chunk);
|
||||
if (typeof cb === 'function') process.nextTick(cb);
|
||||
return true;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user