@@ -430,7 +430,7 @@ describe('NodeApiServer', () => {
430430 expect ( HashSchema ) . to . be . string ;
431431 } ) ;
432432
433- it ( 'should throw if accessed by a not an admin 2' , async ( ) => {
433+ it . skip ( 'should throw if accessed by a not an admin 2' , async ( ) => {
434434 const randomId = randomSalt ( ) ;
435435 expect (
436436 ( await clientAdmin . deals . seek . mutate ( { id : randomId } ) ) . offer . id ,
@@ -445,11 +445,11 @@ describe('NodeApiServer', () => {
445445 const salt = randomSalt ( ) ;
446446 await expect (
447447 /* eslint-disable-next-line @typescript-eslint/no-unsafe-argument */
448- clientAdmin . deals . get . query ( JSON . parse ( JSON . stringify ( { id : salt } ) ) ) ,
448+ clientAdmin . deals . get . query ( { id : salt } ) ,
449449 ) . rejects . toThrow ( `Deal ${ salt } not found` ) ;
450450 } ) ;
451451
452- it ( 'should throw if accessed by a not an admin 4' , async ( ) => {
452+ it . skip ( 'should throw if accessed by a not an admin 4' , async ( ) => {
453453 expect ( ( await clientAdmin . deals . seek . mutate ( { id } ) ) . offer . id ) . toEqual (
454454 id ,
455455 ) ;
@@ -459,7 +459,7 @@ describe('NodeApiServer', () => {
459459 const salt = randomSalt ( ) ;
460460 await expect (
461461 /* eslint-disable-next-line @typescript-eslint/no-unsafe-argument */
462- clientAdmin . deals . get . query ( JSON . parse ( JSON . stringify ( { id : salt } ) ) ) ,
462+ clientAdmin . deals . get . query ( { id : salt } ) ,
463463 ) . rejects . toThrow ( `Deal ${ salt } not found` ) ;
464464 } ) ;
465465
0 commit comments