- Migrated from Python pre-commit to NodeJS-native solution - Reorganized documentation structure - Set up Husky + lint-staged for efficient pre-commit hooks - Fixed Dockerfile healthcheck issue - Added comprehensive documentation index
27 lines
617 B
JSON
27 lines
617 B
JSON
{
|
|
"preset": "ts-jest",
|
|
"testEnvironment": "jsdom",
|
|
"setupFilesAfterEnv": ["<rootDir>/tests/setup.ts"],
|
|
"testMatch": [
|
|
"<rootDir>/services/**/__tests__/**/*.test.ts",
|
|
"<rootDir>/tests/**/*.test.ts",
|
|
"<rootDir>/tests/**/*.test.js"
|
|
],
|
|
"collectCoverageFrom": [
|
|
"services/**/*.ts",
|
|
"components/**/*.tsx",
|
|
"hooks/**/*.ts",
|
|
"utils/**/*.ts",
|
|
"!**/*.d.ts",
|
|
"!**/__tests__/**"
|
|
],
|
|
"coverageDirectory": "coverage",
|
|
"coverageReporters": ["text", "lcov", "html"],
|
|
"moduleNameMapping": {
|
|
"^@/(.*)$": "<rootDir>/$1"
|
|
},
|
|
"transform": {
|
|
"^.+\\.tsx?$": "ts-jest"
|
|
}
|
|
}
|