mirror of
https://github.com/TheBinaryNinja/tvapp2.git
synced 2026-06-04 23:15:42 -04:00
build(deps): bump playwright from 1.49.1 to 1.50.1
This commit is contained in:
8
node_modules/playwright/lib/runner/testServer.js
generated
vendored
8
node_modules/playwright/lib/runner/testServer.js
generated
vendored
@@ -23,6 +23,7 @@ var _webServerPlugin = require("../plugins/webServerPlugin");
|
||||
var _util = require("../util");
|
||||
var _teleReceiver = require("../isomorphic/teleReceiver");
|
||||
var _internalReporter = require("../reporters/internalReporter");
|
||||
var _base = require("../reporters/base");
|
||||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
||||
/**
|
||||
* Copyright Microsoft Corporation. All rights reserved.
|
||||
@@ -353,6 +354,9 @@ class TestServerDispatcher {
|
||||
...(params.updateSnapshots ? {
|
||||
updateSnapshots: params.updateSnapshots
|
||||
} : {}),
|
||||
...(params.updateSourceMethod ? {
|
||||
updateSourceMethod: params.updateSourceMethod
|
||||
} : {}),
|
||||
...(params.workers ? {
|
||||
workers: params.workers
|
||||
} : {})
|
||||
@@ -400,7 +404,7 @@ class TestServerDispatcher {
|
||||
await this._updateWatcher(true);
|
||||
}
|
||||
async findRelatedTestFiles(params) {
|
||||
const errorReporter = (0, _reporters.createErrorCollectingReporter)();
|
||||
const errorReporter = (0, _reporters.createErrorCollectingReporter)(_base.internalScreen);
|
||||
const reporter = new _internalReporter.InternalReporter([errorReporter]);
|
||||
const config = await this._loadConfigOrReportError(reporter);
|
||||
if (!config) return {
|
||||
@@ -528,7 +532,7 @@ async function innerRunTestServer(configLocation, configCLIOverrides, options, o
|
||||
return sigintWatcher.hadSignal() ? 'interrupted' : 'passed';
|
||||
}
|
||||
function chunkToPayload(type, chunk) {
|
||||
if (chunk instanceof Buffer) return {
|
||||
if (chunk instanceof Uint8Array) return {
|
||||
type,
|
||||
buffer: chunk.toString('base64')
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user