diff options
Diffstat (limited to 'frontend/src/components')
| -rw-r--r-- | frontend/src/components/FeedItems.test.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/frontend/src/components/FeedItems.test.tsx b/frontend/src/components/FeedItems.test.tsx index 6ffd026..555d8a2 100644 --- a/frontend/src/components/FeedItems.test.tsx +++ b/frontend/src/components/FeedItems.test.tsx @@ -106,6 +106,7 @@ describe('FeedItems Component', () => { expect.objectContaining({ method: 'PUT', body: JSON.stringify({ read: true, starred: false }), + credentials: 'include', }) ); }); @@ -124,7 +125,8 @@ describe('FeedItems Component', () => { '/api/item/102', expect.objectContaining({ method: 'PUT', - body: JSON.stringify({ read: true, starred: true }), // toggled to true + body: JSON.stringify({ read: true, starred: true }), + credentials: 'include', // toggled to true }) ); }); |
