Skip to content

Commit c0f1856

Browse files
committed
test: update sharedContext in AppSyncGraphQLResolver test for consistency
1 parent 7f094f9 commit c0f1856

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
@@ -2003,7 +2003,7 @@ describe('Class: AppSyncGraphQLResolver', () => {
20032003
expect.objectContaining({
20042004
event: expect.any(Object),
20052005
context,
2006-
sharedContext: expect.any(Map),
2006+
sharedContext: new Map([['requestId', 'test-123']]),
20072007
})
20082008
);
20092009
});
@@ -2031,7 +2031,7 @@ describe('Class: AppSyncGraphQLResolver', () => {
20312031
expect.objectContaining({
20322032
event: expect.any(Object),
20332033
context,
2034-
sharedContext: expect.any(Map),
2034+
sharedContext: new Map([['requestId', 'test-456']]),
20352035
})
20362036
);
20372037
});

0 commit comments

Comments
 (0)