fix: prevent UnexpectedBuildError misclassification and add SWC loader for TS/JSX/CJS #268
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
|