Skip to content

fix(e2e): remove duplicate closing bracket causing vite:oxc parse error#361

Merged
jackwener merged 1 commit intomainfrom
fix/e2e-public-commands-parse-error
Mar 24, 2026
Merged

fix(e2e): remove duplicate closing bracket causing vite:oxc parse error#361
jackwener merged 1 commit intomainfrom
fix/e2e-public-commands-parse-error

Conversation

@jackwener
Copy link
Copy Markdown
Owner

Problem

The E2E Headed Chrome CI workflow fails with:

FAIL  e2e  tests/e2e/public-commands.test.ts
Error: Transform failed with 1 error:
[PARSE_ERROR] Error: Unexpected token
     ╭─[ tests/e2e/public-commands.test.ts:525:1 ]
 525 │ });
     │ ┬
     │ ╰──
─────╯
  Plugin: vite:oxc

Root Cause

Commit 3d39574 (PR #241 — dictionary adapters) introduced a duplicate }, 30_000); at line 524 of public-commands.test.ts. The OXC transformer sees an extra closing bracket and fails to parse.

Fix

Remove the extraneous line. One-line deletion.

The dictionary adapters commit (3d39574) introduced a duplicate
`}, 30_000);` at line 524 of public-commands.test.ts, causing
the vite:oxc transformer to fail with [PARSE_ERROR] Unexpected token
in the E2E Headed Chrome CI workflow.
@jackwener jackwener merged commit 2fb7ed1 into main Mar 24, 2026
13 checks passed
@jackwener jackwener deleted the fix/e2e-public-commands-parse-error branch March 24, 2026 12:21
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