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:
6
node_modules/playwright/lib/reporters/internalReporter.js
generated
vendored
6
node_modules/playwright/lib/reporters/internalReporter.js
generated
vendored
@@ -66,6 +66,10 @@ class InternalReporter {
|
||||
onStdErr(chunk, test, result) {
|
||||
this._reporter.onStdErr?.(chunk, test, result);
|
||||
}
|
||||
async onTestPaused(test, result) {
|
||||
this._addSnippetToTestErrors(test, result);
|
||||
return await this._reporter.onTestPaused?.(test, result);
|
||||
}
|
||||
onTestEnd(test, result) {
|
||||
this._addSnippetToTestErrors(test, result);
|
||||
this._reporter.onTestEnd?.(test, result);
|
||||
@@ -112,6 +116,8 @@ function addLocationAndSnippetToError(config, error, file) {
|
||||
const location = error.location;
|
||||
if (!location)
|
||||
return;
|
||||
if (!!error.snippet)
|
||||
return;
|
||||
try {
|
||||
const tokens = [];
|
||||
const source = import_fs.default.readFileSync(location.file, "utf8");
|
||||
|
||||
Reference in New Issue
Block a user