Initial commit: Complete NodeJS-native setup
- 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
This commit is contained in:
26
jest.config.json
Normal file
26
jest.config.json
Normal file
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user