- Configure workspace Git repository with comprehensive .gitignore - Add Odoo as submodule for ERP reference code - Include documentation: SETUP.md, GIT-STRUCTURE.md - Add gitignore templates for projects (backend, frontend, database) - Structure supports independent repos per project/subproject level Workspace includes: - core/ - Reusable patterns, modules, orchestration system - projects/ - Active projects (erp-suite, gamilit, trading-platform, etc.) - knowledge-base/ - Reference code and patterns (includes Odoo submodule) - devtools/ - Development tools and templates - customers/ - Client implementations template 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
39 lines
965 B
JavaScript
39 lines
965 B
JavaScript
module.exports = {
|
|
preset: 'ts-jest',
|
|
testEnvironment: 'node',
|
|
roots: ['<rootDir>/src'],
|
|
testMatch: ['**/__tests__/**/*.test.ts', '**/__tests__/**/*.spec.ts', '**/*.spec.ts'],
|
|
collectCoverageFrom: [
|
|
'src/**/*.ts',
|
|
'!src/**/*.d.ts',
|
|
'!src/main.ts'
|
|
],
|
|
coverageThreshold: {
|
|
global: {
|
|
branches: 70,
|
|
functions: 70,
|
|
lines: 70,
|
|
statements: 70
|
|
}
|
|
},
|
|
transform: {
|
|
'^.+\\.ts$': ['ts-jest', {
|
|
tsconfig: {
|
|
strict: false,
|
|
strictPropertyInitialization: false,
|
|
strictNullChecks: false,
|
|
skipLibCheck: true
|
|
},
|
|
isolatedModules: true
|
|
}]
|
|
},
|
|
moduleNameMapper: {
|
|
'^@shared/(.*)$': '<rootDir>/src/shared/$1',
|
|
'^@middleware/(.*)$': '<rootDir>/src/middleware/$1',
|
|
'^@config/(.*)$': '<rootDir>/src/config/$1',
|
|
'^@database/(.*)$': '<rootDir>/src/database/$1',
|
|
'^@modules/(.*)$': '<rootDir>/src/modules/$1',
|
|
'^@/(.*)$': '<rootDir>/src/$1'
|
|
}
|
|
};
|