File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
236217describe ( 'Zod schema with slicing - typing' , ( ) => {
You can’t perform that action at this time.
0 commit comments