Migrated editShortUrl payload action

This commit is contained in:
Alejandro Celaya
2022-11-06 11:53:23 +01:00
parent a316366ae9
commit bf84e4a2ed
6 changed files with 13 additions and 11 deletions

View File

@@ -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);
});