@@ -296,10 +296,10 @@ describe('zod', () => {
296296 schema : 'zod' ,
297297 directives : {
298298 constraint : {
299- minLength : [ 'min' , "$1" , " Please input more than $1" ] ,
300- maxLength : [ 'max' , "$1" , " Please input less than $1" ]
301- }
302- }
299+ minLength : [ 'min' , '$1' , ' Please input more than $1' ] ,
300+ maxLength : [ 'max' , '$1' , ' Please input less than $1' ] ,
301+ } ,
302+ } ,
303303 } ,
304304 { }
305305 ) ;
@@ -310,7 +310,7 @@ describe('zod', () => {
310310 for ( const wantContain of wantContains ) {
311311 expect ( result . content ) . toContain ( wantContain ) ;
312312 }
313- } )
313+ } ) ;
314314 it ( 'not null field' , async ( ) => {
315315 const schema = buildSchema ( /* GraphQL */ `
316316 input UserCreateInput {
@@ -326,10 +326,10 @@ describe('zod', () => {
326326 schema : 'zod' ,
327327 directives : {
328328 constraint : {
329- minLength : [ 'min' , "$1" , " Please input more than $1" ] ,
330- maxLength : [ 'max' , "$1" , " Please input less than $1" ]
331- }
332- }
329+ minLength : [ 'min' , '$1' , ' Please input more than $1' ] ,
330+ maxLength : [ 'max' , '$1' , ' Please input less than $1' ] ,
331+ } ,
332+ } ,
333333 } ,
334334 { }
335335 ) ;
@@ -340,7 +340,7 @@ describe('zod', () => {
340340 for ( const wantContain of wantContains ) {
341341 expect ( result . content ) . toContain ( wantContain ) ;
342342 }
343- } )
343+ } ) ;
344344 it ( 'list field' , async ( ) => {
345345 const schema = buildSchema ( /* GraphQL */ `
346346 input UserCreateInput {
@@ -356,10 +356,10 @@ describe('zod', () => {
356356 schema : 'zod' ,
357357 directives : {
358358 constraint : {
359- minLength : [ 'min' , "$1" , " Please input more than $1" ] ,
360- maxLength : [ 'max' , "$1" , " Please input less than $1" ]
361- }
362- }
359+ minLength : [ 'min' , '$1' , ' Please input more than $1' ] ,
360+ maxLength : [ 'max' , '$1' , ' Please input less than $1' ] ,
361+ } ,
362+ } ,
363363 } ,
364364 { }
365365 ) ;
@@ -370,6 +370,6 @@ describe('zod', () => {
370370 for ( const wantContain of wantContains ) {
371371 expect ( result . content ) . toContain ( wantContain ) ;
372372 }
373- } )
373+ } ) ;
374374 } ) ;
375375} ) ;
0 commit comments