1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20const { resolve } = require("path"); const { name: displayName } = require("./package"); module.exports = { displayName, testEnvironment: "node", preset: "react-native", cacheDirectory: resolve(__dirname, "./node_modules/.jestcache"), moduleFileExtensions: ["ts", "tsx", "js"], testRegex: "\\.test\\.(js|ts)x?$", coveragePathIgnorePatterns: ["init.ts"], coverageThreshold: { global: { branches: 100, functions: 100, statements: 100, }, }, };