fix(tests): fix: Improve test stability by handling race conditions in SenderReputationMonitor and IPWarmupManager. Disable filesystem operations and external DNS lookups during tests by checking NODE_ENV, add proper cleanup of singleton instances and active timeouts to ensure consistent test environment.
This commit is contained in:
@ -2,6 +2,13 @@
|
||||
|
||||
## Latest Changes
|
||||
|
||||
### Test Stability Improvements
|
||||
- [x] Fix race conditions in SenderReputationMonitor tests
|
||||
- [x] Disable filesystem operations during tests to prevent race conditions
|
||||
- [x] Add proper cleanup of singleton instances and timeouts
|
||||
- [x] Ensure all tests properly clean up shared resources
|
||||
- [x] Set consistent test environment with NODE_ENV=test
|
||||
|
||||
### Mailgun Removal
|
||||
- [x] Remove Mailgun integration from keywords in package.json and npmextra.json
|
||||
- [x] Update EmailService comments to remove mentions of Mailgun
|
||||
|
Reference in New Issue
Block a user