diff --git a/jest.config.ts b/jest.config.js similarity index 89% rename from jest.config.ts rename to jest.config.js index a7cf275..0d9c650 100644 --- a/jest.config.ts +++ b/jest.config.js @@ -1,8 +1,7 @@ // See: https://jestjs.io/docs/configuration -import type { JestConfigWithTsJest } from 'ts-jest' - -const jestConfig: JestConfigWithTsJest = { +/** @type {import('ts-jest').JestConfigWithTsJest} **/ +export default { clearMocks: true, collectCoverage: true, collectCoverageFrom: ['./src/**'], @@ -39,5 +38,3 @@ const jestConfig: JestConfigWithTsJest = { }, verbose: true } - -export default jestConfig diff --git a/package.json b/package.json index a785fa2..3b952b0 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ ".": "./dist/index.js" }, "engines": { - "node": ">=21" + "node": ">=20" }, "scripts": { "bundle": "npm run format:write && npm run package", diff --git a/tsconfig.eslint.json b/tsconfig.eslint.json index ffa9650..7a00c40 100644 --- a/tsconfig.eslint.json +++ b/tsconfig.eslint.json @@ -11,7 +11,7 @@ "__tests__", "src", "eslint.config.mjs", - "jest.config.ts", + "jest.config.js", "rollup.config.ts" ] }