module.exports = { testEnvironment: "node", collectCoverage: true, coverageDirectory: ".nyc_output", coverageReporters: ["json"], coveragePathIgnorePatterns: ["/test/"], transform: { "^.+\\.(ts)?$": "ts-jest", }, testRegex: ["/test/.*\\.(test.js|test.ts)$"], moduleFileExtensions: ["ts", "js", "json"], snapshotResolver: "/scripts/snapshot-resolver.js", watchPlugins: ["jest-watch-typeahead/filename", "jest-watch-typeahead/testname"], setupFilesAfterEnv: ["/scripts/setup-test.js"], globalTeardown: "/scripts/cleanup-test.js", globalSetup: "/scripts/global-setup.js", modulePathIgnorePatterns: [ "/test/loader/test-loader", "/test/plugin/test-plugin", ], };