Carousel: add mock for seen API
This commit is contained in:
parent
e2b6a7af84
commit
b5f829cdb3
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue