diff --git a/jest.config.ts b/jest.config.ts index f7fc6bb01..02a3753f1 100644 --- a/jest.config.ts +++ b/jest.config.ts @@ -40,6 +40,9 @@ export default async (): Promise => { // END https://kulshekhar.github.io/ts-jest/docs/guides/esm-support }, + // Fix import attributes not working with Babel + coverageProvider: 'v8', + // Don't run any compiled versions of the tests, if they exist modulePathIgnorePatterns: ['/dist/'], // Don't report coverage on the test directory diff --git a/package-lock.json b/package-lock.json index 1ee4749df..99540c16a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -87,7 +87,7 @@ "which": "5.0.0" }, "engines": { - "node": ">=16.7.0" + "node": "^18.20.0 || ^20.10.0 || >=21.0.0" }, "funding": { "url": "https://github.com/sponsors/emmercm"