Switch to using zod for validation on voting API endpoints #1476
32.0000% of diff hit (target 60.0000%)
View this Pull Request on Codecov
32.0000% of diff hit (target 60.0000%)
Annotations
Check warning on line 4 in common/models/zod-schemas.ts
codecov / codecov/patch
common/models/zod-schemas.ts#L3-L4
Added lines #L3 - L4 were not covered by tests
Check warning on line 9 in common/models/zod-schemas.ts
codecov / codecov/patch
common/models/zod-schemas.ts#L9
Added line #L9 was not covered by tests
Check warning on line 30 in common/models/zod-schemas.ts
codecov / codecov/patch
common/models/zod-schemas.ts#L22-L30
Added lines #L22 - L30 were not covered by tests
Check warning on line 311 in server/api/room.ts
codecov / codecov/patch
server/api/room.ts#L310-L311
Added lines #L310 - L311 were not covered by tests
Check warning on line 332 in server/api/room.ts
codecov / codecov/patch
server/api/room.ts#L331-L332
Added lines #L331 - L332 were not covered by tests