jest.config.js (16 lines of code) (raw):
module.exports = {
roots: ["<rootDir>/src"],
testMatch: [
"**/__tests__/**/*Test.+(ts|tsx|js)",
"**/?(*.)+(spec|test).+(ts|tsx|js)",
],
testPathIgnorePatterns: ["/data/"],
transform: {
"^.+\\.(ts|tsx)$": "ts-jest",
},
collectCoverageFrom: [
"src/**/*.{js,ts}",
"!**/node_modules/**",
"!src/__tests__/**",
],
};