Files
wehub-resource-sync bb5c75ce05
Component Security Validation / Security Audit (push) Has been cancelled
Deploy to Cloudflare Pages / deploy (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:38:58 +08:00

24 lines
602 B
JavaScript

/**
* Jest Configuration for API Tests
*
* This configuration is designed to test production API endpoints
* to ensure critical functionality doesn't break during deployments.
*/
module.exports = {
testEnvironment: 'node',
testMatch: ['**/__tests__/**/*.test.js'],
collectCoverageFrom: [
'*.js',
'!node_modules/**',
'!__tests__/**',
'!jest.config.cjs',
'!coverage/**'
],
coverageDirectory: 'coverage',
verbose: true,
testTimeout: 30000, // 30 seconds default timeout
bail: false, // Run all tests even if some fail
maxWorkers: 4, // Run tests in parallel
};