Skip to content

Commit f7b8492

Browse files
committed
test: update sharedContext in AppSyncGraphQLResolver test for consistency
1 parent 364faca commit f7b8492

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
@@ -1994,7 +1994,7 @@ describe('Class: AppSyncGraphQLResolver', () => {
19941994
expect.objectContaining({
19951995
event: expect.any(Object),
19961996
context,
1997-
sharedContext: expect.any(Map),
1997+
sharedContext: new Map([['requestId', 'test-123']]),
19981998
})
19991999
);
20002000
});
@@ -2022,7 +2022,7 @@ describe('Class: AppSyncGraphQLResolver', () => {
20222022
expect.objectContaining({
20232023
event: expect.any(Object),
20242024
context,
2025-
sharedContext: expect.any(Map),
2025+
sharedContext: new Map([['requestId', 'test-456']]),
20262026
})
20272027
);
20282028
});

0 commit comments

Comments
 (0)