mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-06-01 18:16:18 +00:00
Migrated editShortUrl payload action
This commit is contained in:
@@ -181,7 +181,7 @@ describe('shortUrlsListReducer', () => {
|
||||
error: false,
|
||||
};
|
||||
|
||||
const result = reducer(state, { type: SHORT_URL_EDITED, shortUrl: editedShortUrl } as any);
|
||||
const result = reducer(state, { type: SHORT_URL_EDITED, payload: editedShortUrl } as any);
|
||||
|
||||
expect(result.shortUrls?.data).toEqual(expectedList);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user