Skip to content

Commit 2d42b37

Browse files
committed
update tests
1 parent 8a1b8a4 commit 2d42b37

1 file changed

Lines changed: 0 additions & 19 deletions

File tree

tests/e2e/orm/client-api/zod.test-d.ts

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -212,25 +212,6 @@ describe('Zod schema typing tests', () => {
212212
expectTypeOf<Args>().toHaveProperty('take');
213213
expectTypeOf<Args>().toHaveProperty('_count');
214214
});
215-
216-
it('$zod is typed as ZodSchemaFactory', () => {
217-
// verify the factory methods exist on the type
218-
expectTypeOf(client.$zod.makeFindManySchema).toBeFunction();
219-
expectTypeOf(client.$zod.makeFindUniqueSchema).toBeFunction();
220-
expectTypeOf(client.$zod.makeFindFirstSchema).toBeFunction();
221-
expectTypeOf(client.$zod.makeCreateSchema).toBeFunction();
222-
expectTypeOf(client.$zod.makeCreateManySchema).toBeFunction();
223-
expectTypeOf(client.$zod.makeCreateManyAndReturnSchema).toBeFunction();
224-
expectTypeOf(client.$zod.makeUpdateSchema).toBeFunction();
225-
expectTypeOf(client.$zod.makeUpdateManySchema).toBeFunction();
226-
expectTypeOf(client.$zod.makeUpdateManyAndReturnSchema).toBeFunction();
227-
expectTypeOf(client.$zod.makeDeleteSchema).toBeFunction();
228-
expectTypeOf(client.$zod.makeUpsertSchema).toBeFunction();
229-
expectTypeOf(client.$zod.makeCountSchema).toBeFunction();
230-
expectTypeOf(client.$zod.makeAggregateSchema).toBeFunction();
231-
expectTypeOf(client.$zod.makeGroupBySchema).toBeFunction();
232-
expectTypeOf(client.$zod.makeExistsSchema).toBeFunction();
233-
});
234215
});
235216

236217
describe('Zod schema with slicing - typing', () => {

0 commit comments

Comments
 (0)