Using swc with jest

Installation#

npm i -D jest @swc/jest

Usage#

jest.config.js:

module.exports = {
transform: {
"^.+\\.(t|j)sx?$": ["@swc/jest"],
},
};
Last updated on by ๊ฐ•๋™์œค