diff --git a/jest.config.ts b/jest.config.ts index 4212c88ea8f..ecca7ce4720 100644 --- a/jest.config.ts +++ b/jest.config.ts @@ -17,9 +17,10 @@ * */ +import type {Config} from 'jest'; process.env.TZ = 'UTC'; -module.exports = { +const config: Config = { collectCoverageFrom: ['src/script/**/*.{ts,tsx}', '!src/script/util/test/**/*.*'], moduleDirectories: ['node_modules', __dirname], // Must be in sync with tsconfig.json >> paths @@ -40,3 +41,6 @@ module.exports = { testRegex: '(test|Spec)\\.[tj]sx?$', testRunner: 'jest-jasmine2', }; + +// eslint-disable-next-line import/no-default-export +export default config;