chore: Update Jest configuration and test setup for improved timeout handling

- Added a global test timeout of 30 seconds in jest.config.js.
- Configured jest.setTimeout in jestSetup.js to allow individual test overrides if needed.
- Enhanced test reliability by ensuring consistent timeout settings across all tests.
This commit is contained in:
Danny Avila 2025-07-14 22:00:26 -04:00
parent 2cf910351a
commit 33e09c1f52
No known key found for this signature in database
GPG key ID: BF31EEB2C5CA0956
2 changed files with 6 additions and 0 deletions

View file

@ -3,6 +3,7 @@ module.exports = {
clearMocks: true,
roots: ['<rootDir>'],
coverageDirectory: 'coverage',
testTimeout: 30000, // 30 seconds timeout for all tests
setupFiles: [
'./test/jestSetup.js',
'./test/__mocks__/logger.js',