diff --git a/.changeset/six-pianos-refuse.md b/.changeset/six-pianos-refuse.md new file mode 100644 index 00000000000..65dd8a36a87 --- /dev/null +++ b/.changeset/six-pianos-refuse.md @@ -0,0 +1,5 @@ +--- +'@apollo/server-integration-testsuite': patch +--- + +Expand jest peer deps to include v29 diff --git a/jest.config.base.js b/jest.config.base.js index d7e4d435d0b..55709c1a208 100644 --- a/jest.config.base.js +++ b/jest.config.base.js @@ -10,12 +10,15 @@ export default { moduleFileExtensions: [...defaults.moduleFileExtensions, 'ts', 'tsx'], clearMocks: true, extensionsToTreatAsEsm: ['.ts'], - globals: { - 'ts-jest': { - useESM: true, - tsconfig: '/src/__tests__/tsconfig.json', - diagnostics: true, - }, + transform: { + '^.+\\.test.ts$': [ + 'ts-jest', + { + useESM: true, + tsconfig: '/src/__tests__/tsconfig.json', + diagnostics: true, + }, + ], }, moduleNameMapper: { // Ignore '.js' at the end of imports; part of ESM support.