mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-03-13 02:53:47 +00:00
Improved short URL creation
This commit is contained in:
@@ -72,6 +72,8 @@ describe('shortUrlCreationReducer', () => {
|
||||
const apiClientMock = createApiClientMock(Promise.reject(error));
|
||||
const dispatchable = createShortUrl(() => apiClientMock)({});
|
||||
|
||||
expect.assertions(5);
|
||||
|
||||
try {
|
||||
await dispatchable(dispatch, getState);
|
||||
} catch (e) {
|
||||
|
||||
Reference in New Issue
Block a user