Closed tbouffard closed 2 weeks ago
🎊 PR Preview 08cb98db957b1801b67c07f496d039407784bef7 has been successfully built and deployed to https://process-analytics-bv-experimental-add-ons-demo-pr-302.surge.sh
🕐 Build time: 0.011s
🤖 By surge-preview
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
This makes the whole test run faster because
swc
uses native binaries to transpile the TypeScript code. This is particularly noticeable when you run a single test in your IDE.The gain (i.e. the difference between execution with swc and with ts-jest) will increase as there are more TypeScript files to transpile (both in the tests and in the library).
Unlike
ts-jest
,swc
does no type checking (it just transpiles). A new npm script is available to type-check the test code.