@ovrsea/graphql-detect-unused-operations
Version:
Library to check unused resolvers at Ovrsea
19 lines (18 loc) • 551 B
JavaScript
module.exports = {
moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"],
modulePathIgnorePatterns: [".d.ts$", "<rootDir>/dist"],
roots: ["<rootDir>"],
testEnvironment: "node",
testPathIgnorePatterns: ["helpers?.ts", "helpers?.js"],
testRegex: "(/__tests__/.*|(\\.|/)(test|spec))\\.tsx?$",
transform: {
"^.+\\.(t|j)sx?$": ["@swc-node/jest"],
},
snapshotFormat: {
printBasicPrototype: false,
}, clearMocks: true,
coverageDirectory: "coverage",
transform: {
'^.+\\.(t|j)sx?$': ['@swc-node/jest'],
},
};