Update npm packages (73 packages including @jqhtml 2.3.36)
Update npm registry domain from privatenpm.hanson.xyz to npm.internal.hanson.xyz 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
33
node_modules/playwright/lib/worker/workerMain.js
generated
vendored
33
node_modules/playwright/lib/worker/workerMain.js
generated
vendored
@@ -95,11 +95,7 @@ class WorkerMain extends import_process.ProcessRunner {
|
||||
if (!this._config) {
|
||||
return;
|
||||
}
|
||||
const fakeTestInfo = new import_testInfo.TestInfoImpl(this._config, this._project, this._params, void 0, 0, () => {
|
||||
}, () => {
|
||||
}, () => {
|
||||
}, () => {
|
||||
});
|
||||
const fakeTestInfo = new import_testInfo.TestInfoImpl(this._config, this._project, this._params, void 0, 0, import_testInfo.emtpyTestInfoCallbacks);
|
||||
const runnable = { type: "teardown" };
|
||||
await fakeTestInfo._runWithTimeout(runnable, () => this._loadIfNeeded()).catch(() => {
|
||||
});
|
||||
@@ -173,6 +169,7 @@ class WorkerMain extends import_process.ProcessRunner {
|
||||
this._config = config;
|
||||
this._project = project;
|
||||
this._poolBuilder = import_poolBuilder.PoolBuilder.createForWorker(this._project);
|
||||
this._fixtureRunner.workerFixtureTimeout = this._project.project.timeout;
|
||||
}
|
||||
async runTestGroup(runPayload) {
|
||||
this._runFinished = new import_utils.ManualPromise();
|
||||
@@ -233,18 +230,22 @@ class WorkerMain extends import_process.ProcessRunner {
|
||||
return { response: {}, error: (0, import_util2.testInfoError)(error) };
|
||||
}
|
||||
}
|
||||
resume(payload) {
|
||||
this._resumePromise?.resolve(payload);
|
||||
}
|
||||
async _runTest(test, retry, nextTest) {
|
||||
const testInfo = new import_testInfo.TestInfoImpl(
|
||||
this._config,
|
||||
this._project,
|
||||
this._params,
|
||||
test,
|
||||
retry,
|
||||
(stepBeginPayload) => this.dispatchEvent("stepBegin", stepBeginPayload),
|
||||
(stepEndPayload) => this.dispatchEvent("stepEnd", stepEndPayload),
|
||||
(attachment) => this.dispatchEvent("attach", attachment),
|
||||
(testPausedPayload) => this.dispatchEvent("testPaused", testPausedPayload)
|
||||
);
|
||||
const testInfo = new import_testInfo.TestInfoImpl(this._config, this._project, this._params, test, retry, {
|
||||
onStepBegin: (payload) => this.dispatchEvent("stepBegin", payload),
|
||||
onStepEnd: (payload) => this.dispatchEvent("stepEnd", payload),
|
||||
onAttach: (payload) => this.dispatchEvent("attach", payload),
|
||||
onTestPaused: (payload) => {
|
||||
this._resumePromise = new import_utils.ManualPromise();
|
||||
this.dispatchEvent("testPaused", payload);
|
||||
return this._resumePromise;
|
||||
},
|
||||
onCloneStorage: async (payload) => this.sendRequest("cloneStorage", payload),
|
||||
onUpstreamStorage: (payload) => this.sendRequest("upstreamStorage", payload)
|
||||
});
|
||||
const processAnnotation = (annotation) => {
|
||||
testInfo.annotations.push(annotation);
|
||||
switch (annotation.type) {
|
||||
|
||||
Reference in New Issue
Block a user