Mohamed Boudra
006a79ed01
refactor(app/relay): parse test responses with Zod (T1.d typeaware sweep) (#749)
Replace unsafe type assertions with Zod schema parsing:
- app/utils/project-config-form.test.ts: Use PaseoConfigRawSchema.parse()
instead of 'as unknown as PaseoConfigRaw' (~10 errors fixed)
- server/daemon-e2e/relay-transport.e2e.test.ts: Use ConnectionOfferSchema
and WSOutboundMessageSchema.parse() instead of inline type casts (~8 errors fixed)
Deferred to follow-up cluster (architectural decisions needed):
- host-runtime.test.ts: FakeDaemonClient mock needs proper interface
implementation (requires source file changes)
- cloudflare-adapter.test.ts: WebSocket/DurableObjectState mocks need
design review (external Cloudflare types)
Target rule: typescript-eslint(no-unsafe-type-assertion)
Errors cleared: 18/76 in cluster (61 deferred)
2026-05-05 19:58:56 +07:00
..
2026-05-05 19:56:26 +07:00
2026-05-05 19:58:55 +07:00
2026-05-05 19:58:55 +07:00
2026-04-20 10:44:57 +07:00
2026-05-05 19:58:16 +07:00
2026-05-05 19:58:55 +07:00
2026-05-05 19:56:26 +07:00
2026-05-02 14:02:27 +08:00
2026-05-05 19:58:55 +07:00
2026-05-05 19:58:55 +07:00
2026-01-28 21:57:31 +07:00
2026-05-05 19:58:55 +07:00
2026-05-05 19:56:52 +07:00
2026-03-21 20:22:15 +07:00
2026-05-05 19:56:26 +07:00
2026-05-04 01:40:47 +07:00
2026-05-05 19:58:55 +07:00
2026-05-05 19:58:55 +07:00
2026-04-26 16:12:09 +07:00
2026-04-26 12:47:50 +07:00
2026-03-21 20:22:15 +07:00
2026-05-03 19:09:24 +07:00
2026-05-05 19:58:16 +07:00
2026-05-05 19:58:56 +07:00
2026-05-05 19:56:26 +07:00
2026-05-02 18:04:18 +07:00