Skip to content

fix: prevent UnexpectedBuildError misclassification and add SWC loader for TS/JSX/CJS #268

fix: prevent UnexpectedBuildError misclassification and add SWC loader for TS/JSX/CJS

fix: prevent UnexpectedBuildError misclassification and add SWC loader for TS/JSX/CJS #268

Triggered via pull request August 10, 2026 13:22
Status Failure
Total duration 1m 18s
Artifacts

ci.yml

on: pull_request
Build Check
28s
Build Check
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

5 errors
Test (Node 24.x)
Process completed with exit code 1.
tests/slow/error-handling.test.ts > Build Errors > should throw UnexpectedBuildError for invalid JavaScript syntax: tests/slow/error-handling.test.ts#L131
AssertionError: expected BuildError: BuildError { …(2) } to be an instance of UnexpectedBuildError ❯ tests/slow/error-handling.test.ts:131:21
Test (Node 22.x)
Process completed with exit code 1.
tests/slow/size-calculation.test.ts > Bundle Size Calculation > should calculate size for small bundle: tests/slow/size-calculation.test.ts#L15
AssertionError: expected 243 to be greater than or equal to 245 ❯ tests/slow/size-calculation.test.ts:15:25
tests/slow/error-handling.test.ts > Build Errors > should throw UnexpectedBuildError for invalid JavaScript syntax: tests/slow/error-handling.test.ts#L131
AssertionError: expected BuildError: BuildError { …(2) } to be an instance of UnexpectedBuildError ❯ tests/slow/error-handling.test.ts:131:21