335 of 422 branches covered (79.38%)
Branch coverage included in aggregate %.
33 of 69 new or added lines in 3 files covered. (47.83%)
12 existing lines in 2 files now uncovered.4691 of 5040 relevant lines covered (93.08%)
6.54 hits per line
NEW
|
import { z } from 'zod'; |
|
NEW
|
|
× |
NEW
|
export const EnableDisableSchema = z.object({ |
× |
NEW
|
reason: z
|
× |
NEW
|
.string({ message: 'reason must be a string' }) |
× |
NEW
|
.nonempty({ message: 'reason is required' }), |
× |
NEW
|
}); |
× |
NEW
|
|
× |
NEW
|
export type EnableDisableSchemaType = z.infer<typeof EnableDisableSchema>;
|
× |