Switch to using zod for validation on voting API endpoints #1476
18.7500% of diff hit (target 60.0000%)
View this Pull Request on Codecov
18.7500% 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 27 in common/models/zod-schemas.ts
codecov / codecov/patch
common/models/zod-schemas.ts#L22-L27
Added lines #L22 - L27 were not covered by tests
Check warning on line 307 in server/api/room.ts
codecov / codecov/patch
server/api/room.ts#L307
Added line #L307 was not covered by tests
Check warning on line 309 in server/api/room.ts
codecov / codecov/patch
server/api/room.ts#L309
Added line #L309 was not covered by tests
Check warning on line 325 in server/api/room.ts
codecov / codecov/patch
server/api/room.ts#L324-L325
Added lines #L324 - L325 were not covered by tests