Skip to content

Commit 335d0a2

Browse files
docs(changelog): document @swc/jest migration and breaking changes
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 1343bee commit 335d0a2

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

packages/pluggable-widgets-tools/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
1313
### Changed
1414

1515
- We changed the order of imports in generated widget prop types to match that of the eslint sort-imports rule.
16+
- We replaced `ts-jest` with `@swc/jest` as the Jest transform (3–5× faster for TSX-heavy test suites) and switched the test runner from `jest-jasmine2` to `jest-circus`. The default test timeout is now 10 000 ms (previously 5 000 ms).
17+
18+
### Breaking Changes
19+
20+
- The `jest-jasmine2` runner has been removed. Tests using Jasmine-specific globals (`jasmine.createSpy()`, `jasmine.objectContaining()`, etc.) will throw `ReferenceError: jasmine is not defined`. Replace with Jest equivalents: `jest.fn()`, `expect.objectContaining()`.
21+
- Consumers who extended the base config with `globals['ts-jest']` options must migrate those settings to the `@swc/jest` transform config.
1622

1723
## [11.8.1] - 2026-03-16
1824

0 commit comments

Comments
 (0)