mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2025-01-09 01:37:24 +03:00
Fixed warning in ImportServersBtnTest
This commit is contained in:
parent
c490835f9b
commit
97cf3b26b0
1 changed files with 1 additions and 0 deletions
|
@ -59,6 +59,7 @@ describe('<ImportServersBtn />', () => {
|
||||||
|
|
||||||
input && fireEvent.change(input, { target: { files: [''] } });
|
input && fireEvent.change(input, { target: { files: [''] } });
|
||||||
expect(importServersFromFile).toHaveBeenCalledTimes(1);
|
expect(importServersFromFile).toHaveBeenCalledTimes(1);
|
||||||
|
await waitFor(() => expect(createServersMock).toHaveBeenCalledTimes(1));
|
||||||
});
|
});
|
||||||
|
|
||||||
it.each([
|
it.each([
|
||||||
|
|
Loading…
Reference in a new issue