Some checks failed
Deploy / deploy (push) Has been cancelled
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>
32 lines
710 B
JavaScript
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'
|
|
}
|
|
}; |