Full codebase including API server (32 modules + routes), dashboard frontend, DashCA certificate distribution, installer script, and deployment skills.
28 lines
601 B
JavaScript
28 lines
601 B
JavaScript
module.exports = {
|
|
testEnvironment: 'node',
|
|
testTimeout: 15000,
|
|
testMatch: ['**/__tests__/**/*.test.js'],
|
|
collectCoverageFrom: [
|
|
'state-manager.js',
|
|
'input-validator.js',
|
|
'crypto-utils.js',
|
|
'health-checker.js',
|
|
'backup-manager.js',
|
|
'update-manager.js',
|
|
'resource-monitor.js',
|
|
'credential-manager.js',
|
|
'app-templates.js'
|
|
],
|
|
coverageThreshold: {
|
|
global: {
|
|
branches: 80,
|
|
functions: 80,
|
|
lines: 80,
|
|
statements: 80
|
|
}
|
|
},
|
|
setupFilesAfterEnv: ['<rootDir>/__tests__/jest.setup.js'],
|
|
restoreMocks: true,
|
|
clearMocks: true
|
|
};
|