mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-08-04 10:01:54 +00:00
Removed no longer needed async/await when building api client
This commit is contained in:
@@ -51,7 +51,7 @@ describe('shortUrlMetaReducer', () => {
|
||||
|
||||
describe('editShortUrlMeta', () => {
|
||||
const updateShortUrlMeta = jest.fn().mockResolvedValue({});
|
||||
const buildShlinkApiClient = jest.fn().mockResolvedValue({ updateShortUrlMeta });
|
||||
const buildShlinkApiClient = jest.fn().mockReturnValue({ updateShortUrlMeta });
|
||||
const dispatch = jest.fn();
|
||||
|
||||
afterEach(jest.clearAllMocks);
|
||||
|
||||
Reference in New Issue
Block a user