38 lines
805 B
JavaScript
38 lines
805 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',
|
|
'auth-manager.js',
|
|
'csrf-protection.js',
|
|
'errors.js',
|
|
'error-handler.js',
|
|
'routes/health.js',
|
|
'routes/services.js',
|
|
'routes/containers.js',
|
|
'url-resolver.js',
|
|
'pagination.js',
|
|
'platform-paths.js',
|
|
'port-lock-manager.js'
|
|
],
|
|
coverageThreshold: {
|
|
global: {
|
|
branches: 80,
|
|
functions: 80,
|
|
lines: 80,
|
|
statements: 80
|
|
}
|
|
},
|
|
restoreMocks: true,
|
|
clearMocks: true
|
|
};
|