diff --git a/jest.config.ts b/jest.config.ts index def09832..d71b5f01 100644 --- a/jest.config.ts +++ b/jest.config.ts @@ -1,6 +1,7 @@ -import type { Config } from '@jest/types'; +// eslint-disable-next-line n/no-unpublished-import +import type { Config } from 'jest'; -const config: Config.InitialOptions = { +const config: Config = { preset: 'ts-jest', modulePathIgnorePatterns: ['/dist'], transform: { diff --git a/package-lock.json b/package-lock.json index 495dafea..54fbbd5a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -126,6 +126,9 @@ "ts-jest": "29.0.3", "ts-node": "10.9.1", "typescript": "4.8.4" + }, + "engines": { + "node": ">=16" } }, "node_modules/@ampproject/remapping": {