Closed gulfaraz closed 1 month ago
> test:api:all
> node --expose-gc node_modules/.bin/jest --config=jest.api.config.js --runInBand --detectOpenHandles --logHeapUsage
ts-jest[versions] (WARN) Version 4.9.5 of typescript installed has not been tested with ts-jest. If you're experiencing issues, consider using a supported version (>=2.7.0 <4.0.0). Please do not report issues in ts-jest if you are using unsupported versions.
PASS test/email/drought/email-uga-drought.test.ts (15.933s, 230 MB heap size)
Should send an email for uga drought
✓ triggered in january (6446ms)
✓ non triggered any month (7667ms)
PASS test/email/floods/email-uga-floods.test.ts (31.759s, 232 MB heap size)
Should send an email for uga floods
✓ default (8169ms)
✓ warning (7478ms)
✓ warning-to-trigger (7903ms)
✓ no-trigger (7887ms)
PASS test/email/floods/email-ssd-floods.test.ts (16.967s, 241 MB heap size)
Should send an email for ssd floods
✓ default (8495ms)
✓ no-trigger (8236ms)
PASS test/email/typhoon/email-phl-typhoon.test.ts (12.079s, 249 MB heap size)
Should send an email for phl typhoon
✓ default (11782ms)
Test Suites: 4 passed, 4 total
Tests: 9 passed, 9 total
Snapshots: 0 total
Time: 77.356s
Ran all test suites.
Describe your changes
fixes #1512
Checklist before requesting a review