Carousel: add mock for seen API

This commit is contained in:
Alex Gleason 2022-12-14 13:28:41 -06:00
parent e2b6a7af84
commit b5f829cdb3
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -70,6 +70,8 @@ describe('<FeedCarousel />', () => {
mock.onGet('/api/v1/accounts/1/statuses').reply(200, [], {
link: '<https://example.com/api/v1/accounts/1/statuses?since_id=1>; rel=\'prev\'',
});
mock.onPost('/api/v1/truth/carousels/avatars/seen').reply(200);
});
});