- Vitest unit tests for POST /api/erase: validation, form-only providers, all email providers, CRLF sanitization - Snapshot on PROVIDER_DATA to catch provider config drift - Mock via require cache to avoid nodemailer/sendmail dependency - sendErasureMail call assertions (args + call count) - fetch-test-emails.mjs script to refresh disposable email pool - mailer: add Reply-To header pointing to requester email - mailer: fallback to direct transport when sendmail unavailable |
||
|---|---|---|
| .. | ||
| routes | ||
| scripts | ||
| services | ||
| tests | ||
| .env.example | ||
| app.js | ||
| package-lock.json | ||
| package.json | ||
| vitest.config.js | ||