Skip to content

Commit 06bbc90

Browse files
committed
fix test
1 parent 63b6a11 commit 06bbc90

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tests/zod.spec.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -696,10 +696,8 @@ describe('zod', () => {
696696

697697
const wantContains = [
698698
'export function GeometrySchema(): z.ZodObject<Properties<Geometry>> {',
699-
'return z.object({',
700699
"__typename: z.literal('Geometry').optional(),",
701700
'shape: ShapeSchema().nullish()',
702-
'}',
703701
];
704702
for (const wantContain of wantContains) {
705703
expect(result.content).toContain(wantContain);

0 commit comments

Comments
 (0)