fix(admin): type the held fixture, update the e2e token and LMTP allow list

- Add the reason field to a test fixture so tsc -b passes
- Use a 24+ character API token and an lmtp.allow list in the end-to-end stack
- Describe failed deliveries in the README
This commit is contained in:
tgiachi 2026-11-09 20:35:54 +01:00
commit 2b66937ac7

View file

@ -50,7 +50,7 @@ describe('list page', () => {
installFakeApi(
newState({
lists: [dev()],
held: { 1: [{ id: 5, sender: 'a@x.com', subject: 's', size: 10, created_at: '2030-01-01T00:00:00Z' }] },
held: { 1: [{ id: 5, sender: 'a@x.com', subject: 's', size: 10, created_at: '2030-01-01T00:00:00Z', reason: '' }] },
}),
)
renderApp('/lists/1', { token: 'good' })