mailship/test
Agent 13b1e9d00f Standardize tests on vitest
- Add vitest as dev dep (pnpm add -D vitest), create vitest.config.ts
  with globals:true and setupFiles
- Migrate digest-template, normalize-relay-url, reschedule-on-frequency-change,
  and event-arrival-race from raw JS + hand-rolled asserts to vitest
  describe/it/expect, as .test.ts (port all assertions without weakening)
- Create test/setup.ts with env vars needed by env.ts/mailer.ts
- DELETE test/web-ui.test.js: dead test for removed web UI (PR #1)
- package.json: add test:unit script (vitest run), keep test = bash E2E
- script/checks: add pnpm test:unit after build
- README: document pnpm test:unit / pnpm test
2026-09-14 13:32:19 -04:00
..
cors.test.sh fix: scope CORS to browser routes only, require CORS_ORIGIN (fail closed) 2026-09-10 11:29:18 -04:00
digest-template.test.ts Standardize tests on vitest 2026-09-14 13:32:19 -04:00
event-arrival-race.test.ts Standardize tests on vitest 2026-09-14 13:32:19 -04:00
integration.sh Merge remote-tracking branch 'origin/main' into mailship-0da-readme-config-architecture-and-docker-co-6e1 2026-09-14 12:55:35 -04:00
normalize-relay-url.test.ts Standardize tests on vitest 2026-09-14 13:32:19 -04:00
reschedule-on-frequency-change.test.ts Standardize tests on vitest 2026-09-14 13:32:19 -04:00
setup.ts Standardize tests on vitest 2026-09-14 13:32:19 -04:00