swc-jest swc jest plugin Install npm install --save-dev swc-jest @swc/core Setup You have to define swc-jest as a transformer for your JavaScript code, map .js files to the swc-jest module. "transform": { "^.+\\.jsx?$": "swc-jest"},