diff --git a/jest.config.js b/jest.config.js index 4d7651c41d..b98fab0a01 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,4 +1,5 @@ -exports = { +/** @type {import('jest').Config} */ +const config = { preset: 'ts-jest/presets/default-esm', testPathIgnorePatterns: ['/node_modules', '/build', '/_site', '/src'], coverageDirectory: './coverage/', @@ -11,3 +12,5 @@ exports = { } } }; + +module.exports = config;