@fitch-digital/fitch-create-app
Version:
Boilerplate templates for FITCH projects
31 lines (30 loc) • 864 B
JSON
{
"roots": ["<rootDir>/__tests__/unit"],
"modulePaths": ["<rootDir>", "/node_modules/"],
"moduleFileExtensions": ["js", "jsx"],
"moduleNameMapper": {
"^.*\\.scss$": "<rootDir>/__tests__/style.js",
"^@/(.*)$": "<rootDir>/app/$1"
},
"transform": {
"^.+\\.jsx?$": "babel-jest"
},
"transformIgnorePatterns": ["/node_modules/"],
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
},
"collectCoverage": true,
"collectCoverageFrom": ["**/*.{js,jsx}"],
"coveragePathIgnorePatterns": [
"<rootDir>/app/imported.js",
"/node_modules/",
"<rootDir>/app/store",
"<rootDir>/app/history"
],
"setupFilesAfterEnv": ["<rootDir>/__tests__/setup.js"]
}