Skip to content

Commit 7db4eef

Browse files
committed
fix: improve test descriptions for clarity in AppSyncGraphQLResolver
1 parent 02106cb commit 7db4eef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/event-handler/tests/unit/appsync-graphql/AppSyncGraphQLResolver.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -980,7 +980,7 @@ describe('Class: AppSyncGraphQLResolver', () => {
980980
});
981981
});
982982

983-
it('does not catch ResolverNotFoundException with unrelated exception handlers', async () => {
983+
it('should not interfere with ResolverNotFoundException', async () => {
984984
// Prepare
985985
const app = new AppSyncGraphQLResolver();
986986

@@ -1001,7 +1001,7 @@ describe('Class: AppSyncGraphQLResolver', () => {
10011001
).rejects.toThrow('No resolver found for Query-nonExistentResolver');
10021002
});
10031003

1004-
it('invokes exception handler when used as a method decorator', async () => {
1004+
it('should work as a method decorator', async () => {
10051005
// Prepare
10061006
const app = new AppSyncGraphQLResolver();
10071007

0 commit comments

Comments
 (0)