mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-04-13 01:56:17 +00:00
Added more tests covering new use cases
This commit is contained in:
@@ -52,7 +52,7 @@ describe('shortUrlCreationReducer', () => {
|
||||
const dispatch = jest.fn();
|
||||
const getState = () => ({});
|
||||
|
||||
afterEach(() => dispatch.mockReset());
|
||||
afterEach(jest.resetAllMocks);
|
||||
|
||||
it('calls API on success', async () => {
|
||||
const result = 'foo';
|
||||
|
||||
Reference in New Issue
Block a user