JSPM

  • Created
  • Published
  • Downloads 3558940
  • Score
    100M100P100Q205434F
  • License MIT

swc integration for jest

Package Exports

  • @swc/jest

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@swc/jest) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@swc/jest

swc binding for the jest

Installation

# if you use npm
npm i -D jest @swc/jest
# if you use yarn
yarn add jest @swc/jest

Usage

jest.config.js:

module.exports = {
  transform: {
    '^.+\\.(t|j)sx?$': ['@swc/jest'],
  },
}

License

MIT