0.9.0 • Published 2 years ago

@aklesky/jest-config v0.9.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Jest configuration preset

Usage

jest.config.js

// jest.config.js
export { default } from '@aklesky/jest-config/config.js'

Preset

{
    "collectCoverage": true,
    "testEnvironment": "node",
    "extensionsToTreatAsEsm": [".ts", ".tsx"],
    "testMatch": ["**/__tests__/**/?(*.)+(spec|test).[jt]s?(x)"],
    "transform": {
        "^.+\\.(t|j)sx?$": [
            "@swc/jest",
            {
                "jsc": {
                    "transform": {
                        "react": {
                            "runtime": "automatic",
                        },
                    },
                },
            },
        ],
    },
    "moduleNameMapper": {
        "^(\\.{1,2}/.*)\\.js$": "$1",
    },
}

Supported Jest versions

NameVersionSupported
Jest>= 29.4.1:white_check_mark:
swc/jest>= 0.2.24:white_check_mark:
0.9.0

2 years ago

0.8.0

2 years ago

0.7.14

2 years ago

0.7.11

2 years ago

0.7.13

2 years ago

0.7.12

2 years ago

0.7.10

2 years ago

0.7.6

2 years ago

0.7.5

2 years ago

0.7.8

2 years ago

0.7.7

2 years ago

0.6.7

2 years ago

0.7.2

2 years ago

0.7.1

2 years ago

0.7.4

2 years ago

0.7.3

2 years ago

0.7.0

2 years ago

0.6.3

2 years ago

0.1.0

2 years ago

0.1.2

2 years ago

0.2.0

2 years ago

0.1.1

2 years ago

0.6.2

2 years ago

0.6.0

2 years ago

0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago