Files
telegram-management-system/marketing-agent/test/jest.config.js
你的用户名 237c7802e5
Some checks failed
Deploy / deploy (push) Has been cancelled
Initial commit: Telegram Management System
Full-stack web application for Telegram management
- Frontend: Vue 3 + Vben Admin
- Backend: NestJS
- Features: User management, group broadcast, statistics

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-04 15:37:50 +08:00

32 lines
710 B
JavaScript

module.exports = {
testEnvironment: 'node',
roots: ['<rootDir>/integration', '<rootDir>/unit'],
testMatch: [
'**/__tests__/**/*.js',
'**/?(*.)+(spec|test).js'
],
collectCoverageFrom: [
'../services/**/src/**/*.js',
'!../services/**/src/index.js',
'!../services/**/src/config/**',
'!**/node_modules/**'
],
coverageThreshold: {
global: {
branches: 70,
functions: 70,
lines: 70,
statements: 70
}
},
setupFilesAfterEnv: ['<rootDir>/setup.test.js'],
testTimeout: 30000,
verbose: true,
forceExit: true,
clearMocks: true,
resetMocks: true,
restoreMocks: true,
moduleNameMapper: {
'^@/(.*)$': '<rootDir>/../services/$1'
}
};