@@ -553,10 +553,12 @@ describe('test harness', () => {
553553 } ) ,
554554 ) ;
555555
556- const response = await request ( app ) . post ( urlString ( ) ) . send ( {
557- query : 'query helloWho($who: String){ test(who: $who) }' ,
558- variables : JSON . stringify ( { who : 'Dolly' } ) ,
559- } ) ;
556+ const response = await request ( app )
557+ . post ( urlString ( ) )
558+ . send ( {
559+ query : 'query helloWho($who: String){ test(who: $who) }' ,
560+ variables : JSON . stringify ( { who : 'Dolly' } ) ,
561+ } ) ;
560562
561563 expect ( response . text ) . to . equal ( '{"data":{"test":"Hello Dolly"}}' ) ;
562564 } ) ;
@@ -572,10 +574,12 @@ describe('test harness', () => {
572574 } ) ,
573575 ) ;
574576
575- const response = await request ( app ) . post ( urlString ( ) ) . send ( {
576- query : 'query helloWho($who: String){ test(who: $who) }' ,
577- variables : { who : 'Dolly' } ,
578- } ) ;
577+ const response = await request ( app )
578+ . post ( urlString ( ) )
579+ . send ( {
580+ query : 'query helloWho($who: String){ test(who: $who) }' ,
581+ variables : { who : 'Dolly' } ,
582+ } ) ;
579583
580584 expect ( response . text ) . to . equal ( '{"data":{"test":"Hello Dolly"}}' ) ;
581585 } ) ;
@@ -591,12 +595,14 @@ describe('test harness', () => {
591595 } ) ,
592596 ) ;
593597
594- const response = await request ( app ) . post ( urlString ( ) ) . send (
595- stringify ( {
596- query : 'query helloWho($who: String){ test(who: $who) }' ,
597- variables : JSON . stringify ( { who : 'Dolly' } ) ,
598- } ) ,
599- ) ;
598+ const response = await request ( app )
599+ . post ( urlString ( ) )
600+ . send (
601+ stringify ( {
602+ query : 'query helloWho($who: String){ test(who: $who) }' ,
603+ variables : JSON . stringify ( { who : 'Dolly' } ) ,
604+ } ) ,
605+ ) ;
600606
601607 expect ( response . text ) . to . equal ( '{"data":{"test":"Hello Dolly"}}' ) ;
602608 } ) ;
@@ -683,17 +689,19 @@ describe('test harness', () => {
683689 } ) ) ,
684690 ) ;
685691
686- const response = await request ( app ) . post ( urlString ( ) ) . send ( {
687- query : `
692+ const response = await request ( app )
693+ . post ( urlString ( ) )
694+ . send ( {
695+ query : `
688696 query helloYou { test(who: "You"), ...shared }
689697 query helloWorld { test(who: "World"), ...shared }
690698 query helloDolly { test(who: "Dolly"), ...shared }
691699 fragment shared on QueryRoot {
692700 shared: test(who: "Everyone")
693701 }
694702 ` ,
695- operationName : 'helloWorld' ,
696- } ) ;
703+ operationName : 'helloWorld' ,
704+ } ) ;
697705
698706 expect ( JSON . parse ( response . text ) ) . to . deep . equal ( {
699707 data : {
0 commit comments