@@ -40,7 +40,7 @@ describe('Class: AppSyncGraphQLResolver', () => {
4040 expect ( result ) . toBeUndefined ( ) ;
4141 } ) ;
4242
43- it ( 'throws error if there are no onQuery handlers' , async ( ) => {
43+ it ( 'throws error if there are no handlers for `Query` ' , async ( ) => {
4444 // Prepare
4545 const app = new AppSyncGraphQLResolver ( { logger : console } ) ;
4646
@@ -53,7 +53,7 @@ describe('Class: AppSyncGraphQLResolver', () => {
5353 expect ( console . error ) . toHaveBeenCalled ( ) ;
5454 } ) ;
5555
56- it ( 'throws error if there are no onMutation handlers' , async ( ) => {
56+ it ( 'throws error if there are no handlers for `Mutation` ' , async ( ) => {
5757 // Prepare
5858 const app = new AppSyncGraphQLResolver ( { logger : console } ) ;
5959
@@ -66,7 +66,7 @@ describe('Class: AppSyncGraphQLResolver', () => {
6666 expect ( console . error ) . toHaveBeenCalled ( ) ;
6767 } ) ;
6868
69- it ( 'returns the response of the onQuery handler' , async ( ) => {
69+ it ( 'returns the response of the `Query` handler' , async ( ) => {
7070 // Prepare
7171 const app = new AppSyncGraphQLResolver ( { logger : console } ) ;
7272 app . resolver < { id : string } > (
@@ -96,7 +96,7 @@ describe('Class: AppSyncGraphQLResolver', () => {
9696 } ) ;
9797 } ) ;
9898
99- it ( 'returns the response of the onMutation handler' , async ( ) => {
99+ it ( 'returns the response of the `Mutation` handler' , async ( ) => {
100100 // Prepare
101101 const app = new AppSyncGraphQLResolver ( { logger : console } ) ;
102102 app . resolver < { title : string ; content : string } > (
0 commit comments