Commit 2bab723
perf(test): replace ts-jest/jasmine2 with @swc/jest/jest-circus
Switch Jest transform from ts-jest to @swc/jest (3-5x faster, Rust-native,
no type-checking overhead) and runner from jest-jasmine2 to jest-circus
(default since Jest 27, better errors, supports retryTimes). Add explicit
testTimeout of 10000ms. Drop separate jsx transform — @swc/jest handles
both .ts and .js extensions via unified pattern.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 8923465 commit 2bab723
2 files changed
Lines changed: 12 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| 102 | + | |
| 103 | + | |
102 | 104 | | |
103 | 105 | | |
104 | 106 | | |
| |||
Lines changed: 10 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
12 | | - | |
13 | | - | |
| 13 | + | |
| 14 | + | |
14 | 15 | | |
15 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
16 | 22 | | |
17 | 23 | | |
18 | | - | |
19 | 24 | | |
20 | 25 | | |
21 | 26 | | |
| |||
0 commit comments