Skip to content

Commit 2f06414

Browse files
committed
Set node version in package.json
1 parent 7091e1f commit 2f06414

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

jest.config.ts jest.config.js

+2-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
// See: https://jestjs.io/docs/configuration
22

3-
import type { JestConfigWithTsJest } from 'ts-jest'
4-
5-
const jestConfig: JestConfigWithTsJest = {
3+
/** @type {import('ts-jest').JestConfigWithTsJest} **/
4+
export default {
65
clearMocks: true,
76
collectCoverage: true,
87
collectCoverageFrom: ['./src/**'],
@@ -39,5 +38,3 @@ const jestConfig: JestConfigWithTsJest = {
3938
},
4039
verbose: true
4140
}
42-
43-
export default jestConfig

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
".": "./dist/index.js"
2424
},
2525
"engines": {
26-
"node": ">=21"
26+
"node": ">=20"
2727
},
2828
"scripts": {
2929
"bundle": "npm run format:write && npm run package",

tsconfig.eslint.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"__tests__",
1212
"src",
1313
"eslint.config.mjs",
14-
"jest.config.ts",
14+
"jest.config.js",
1515
"rollup.config.ts"
1616
]
1717
}

0 commit comments

Comments
 (0)