Skip to content

Commit 1626788

Browse files
committed
Allow 0 errors
1 parent 9cfe435 commit 1626788

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

backend/src/testrecords.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ const TestDataSchema = z.object({
5353
pixelError: z.number().min(0).max(1),
5454
timeStamp: z.coerce.date(),
5555
timing: z.number().min(0),
56-
nErrors: z.number().int().positive(),
56+
nErrors: z.number().int().min(0),
5757
commitHash: z.string().min(1),
5858
referenceImage: z.string().min(1),
5959
candidateImage: z.coerce.date(),

0 commit comments

Comments
 (0)