@@ -40,7 +40,7 @@ describe('Class: AppSyncGraphQLResolver', () => {
40
40
expect ( result ) . toBeUndefined ( ) ;
41
41
} ) ;
42
42
43
- it ( 'throws error if there are no onQuery handlers' , async ( ) => {
43
+ it ( 'throws error if there are no handlers for `Query` ' , async ( ) => {
44
44
// Prepare
45
45
const app = new AppSyncGraphQLResolver ( { logger : console } ) ;
46
46
@@ -53,7 +53,7 @@ describe('Class: AppSyncGraphQLResolver', () => {
53
53
expect ( console . error ) . toHaveBeenCalled ( ) ;
54
54
} ) ;
55
55
56
- it ( 'throws error if there are no onMutation handlers' , async ( ) => {
56
+ it ( 'throws error if there are no handlers for `Mutation` ' , async ( ) => {
57
57
// Prepare
58
58
const app = new AppSyncGraphQLResolver ( { logger : console } ) ;
59
59
@@ -66,7 +66,7 @@ describe('Class: AppSyncGraphQLResolver', () => {
66
66
expect ( console . error ) . toHaveBeenCalled ( ) ;
67
67
} ) ;
68
68
69
- it ( 'returns the response of the onQuery handler' , async ( ) => {
69
+ it ( 'returns the response of the `Query` handler' , async ( ) => {
70
70
// Prepare
71
71
const app = new AppSyncGraphQLResolver ( { logger : console } ) ;
72
72
app . resolver < { id : string } > (
@@ -96,7 +96,7 @@ describe('Class: AppSyncGraphQLResolver', () => {
96
96
} ) ;
97
97
} ) ;
98
98
99
- it ( 'returns the response of the onMutation handler' , async ( ) => {
99
+ it ( 'returns the response of the `Mutation` handler' , async ( ) => {
100
100
// Prepare
101
101
const app = new AppSyncGraphQLResolver ( { logger : console } ) ;
102
102
app . resolver < { title : string ; content : string } > (
0 commit comments