Skip to content

fix(test): regenerate snapshots after upstream sync to v0.24.0#12

Merged
triuzzi merged 1 commit into
mainfrom
fix/snapshot-regen-after-v0.4.0
May 7, 2026
Merged

fix(test): regenerate snapshots after upstream sync to v0.24.0#12
triuzzi merged 1 commit into
mainfrom
fix/snapshot-regen-after-v0.4.0

Conversation

@triuzzi
Copy link
Copy Markdown
Owner

@triuzzi triuzzi commented May 7, 2026

Summary

Regenerates the two snapshot files that drifted after the upstream sync to v0.24.0:

  • `tests/third_party_notices.test.js.snapshot` — bundled lighthouse output reformatted the urlpattern-polyfill license text (some single-line entries broke across two lines).
  • `tests/McpResponse.test.js.snapshot` — tool descriptions and a few related fields changed in the upstream commits.

The third_party_notices test only runs when `build/src/third_party/THIRD_PARTY_NOTICES` exists, which happens after `npm run bundle`. CI runs bundle, the local `test:no-build` does not — that's why the failure surfaced only in CI after the 0.4.0 release.

Note: separate pre-existing CI failure

The `Check code before submitting` job is also failing on a different issue — `tests/e2e/brave-integration.test.mjs` triggers an ESLint "Parsing error: not found by the project service". This pre-existed on the previous main, was not introduced by the sync, and is intentionally left out of this PR.

Test plan

  • `npm run bundle && node scripts/test.mjs --test-update-snapshots` regenerates both snapshots
  • CI green on `Compile and run tests` after merge

🤖 Generated with Claude Code

The bundled lighthouse output reformatted urlpattern-polyfill's license
text and changed McpResponse's tool descriptions. The snapshot test
runs only when build/src/third_party/THIRD_PARTY_NOTICES exists (i.e.
after npm run bundle, which CI runs but local test:no-build does not),
so this failure surfaced only in CI after the v0.4.0 release.

Co-Authored-By: Claude <noreply@anthropic.com>
@triuzzi triuzzi self-assigned this May 7, 2026
@triuzzi triuzzi merged commit f35e19b into main May 7, 2026
1 of 16 checks passed
@triuzzi triuzzi deleted the fix/snapshot-regen-after-v0.4.0 branch May 7, 2026 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant