Initial commit: DashCaddy v1.0
Full codebase including API server (32 modules + routes), dashboard frontend, DashCA certificate distribution, installer script, and deployment skills.
This commit is contained in:
27
dashcaddy-api/jest.config.js
Normal file
27
dashcaddy-api/jest.config.js
Normal file
@@ -0,0 +1,27 @@
|
||||
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
|
||||
};
|
||||
Reference in New Issue
Block a user