Skip to content

Commit f715420

Browse files
fix(test): remove unjustified testTimeout override
Default Jest timeout (5000ms) is sufficient. The 10s value was added defensively with no evidence tests needed it, and the changelog description was misleading. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent c78ac36 commit f715420

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

packages/pluggable-widgets-tools/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
1919
### Changed
2020

2121
- We changed the order of imports in generated widget prop types to match that of the eslint sort-imports rule.
22-
- 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).
22+
- 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`.
2323

2424
### Breaking Changes
2525

packages/pluggable-widgets-tools/test-config/jest.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ const projectDir = process.cwd();
55
module.exports = {
66
clearMocks: true,
77
testRunner: "jest-circus/runner",
8-
testTimeout: 10000,
98
rootDir: join(projectDir, "src"),
109
setupFilesAfterEnv: [join(__dirname, "test-index.js")],
1110
testMatch: ["<rootDir>/**/*.spec.{js,jsx,ts,tsx}"],

0 commit comments

Comments
 (0)