@swc-node/jest

    1.4.3 • Public • Published

    @swc-node/jest

    Downloads

    🚀 Help me to become a full-time open-source developer by sponsoring me on Github

    Usage

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

    Configuration

    Configuration can be passed as a second argument to transform:

    // jest.config.js
    
    module.exports = {
      transform: {
        '^.+\\.(t|j)sx?$': [
          '@swc-node/jest',
    
          // configuration
          {
            dynamicImport: true,
            react: {
              pragma: 'h',
            },
          },
        ],
      },
    }

    List of all of the available configuration options.

    Install

    npm i @swc-node/jest

    DownloadsWeekly Downloads

    21,311

    Version

    1.4.3

    License

    MIT

    Unpacked Size

    5.36 kB

    Total Files

    7

    Last publish

    Collaborators

    • broooooklyn