mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-03-01 05:06:39 +00:00
Created ManageServersRowDropdown test
This commit is contained in:
@@ -24,7 +24,7 @@ describe('<AppUpdateBanner />', () => {
|
||||
});
|
||||
|
||||
it('invokes toggle when alert is toggled', () => {
|
||||
(wrapper.prop('toggle') as Function)(); // eslint-disable-line @typescript-eslint/no-unnecessary-type-assertion
|
||||
(wrapper.prop('toggle') as Function)();
|
||||
|
||||
expect(toggle).toHaveBeenCalled();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user