0.9.0 • Published 4 months ago
@aklesky/jest-config v0.9.0
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
Name | Version | Supported |
---|---|---|
Jest | >= 29.4.1 | :white_check_mark: |
swc/jest | >= 0.2.24 | :white_check_mark: |
0.9.0
4 months ago
0.8.0
4 months ago
0.7.14
5 months ago
0.7.11
5 months ago
0.7.13
5 months ago
0.7.12
5 months ago
0.7.10
5 months ago
0.7.6
5 months ago
0.7.5
5 months ago
0.7.8
5 months ago
0.7.7
5 months ago
0.6.7
8 months ago
0.7.2
7 months ago
0.7.1
7 months ago
0.7.4
7 months ago
0.7.3
7 months ago
0.7.0
7 months ago
0.6.3
11 months ago
0.1.0
1 year ago
0.1.2
1 year ago
0.2.0
1 year ago
0.1.1
1 year ago
0.6.2
1 year ago
0.6.0
1 year ago
0.0.10
1 year ago
0.0.9
1 year ago
0.0.8
1 year ago
0.0.7
1 year ago
0.0.6
1 year ago
0.0.5
1 year ago
0.0.4
1 year ago
0.0.3
1 year ago
0.0.2
1 year ago