Skip to content

Jest

Jest with SWC for faster tests

pnpm i -D jest @swc/core @swc/jest
jest.config.js
module.exports = {
    transform: {
        "^.+\\.(t|j)sx?$": ["@swc/jest"],
    },
};

Last update: August 12, 2023
Created: June 3, 2023