mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-04-21 05:56:20 +00:00
Created ManageServersRowDropdown test
This commit is contained in:
@@ -42,7 +42,7 @@ describe('<EditDomainRedirectsModal />', () => {
|
||||
it('has different handlers to toggle the modal', () => {
|
||||
expect(toggle).not.toHaveBeenCalled();
|
||||
|
||||
(wrapper.prop('toggle') as Function)(); // eslint-disable-line @typescript-eslint/no-unnecessary-type-assertion
|
||||
(wrapper.prop('toggle') as Function)();
|
||||
(wrapper.find(ModalHeader).prop('toggle') as Function)();
|
||||
wrapper.find(Button).first().simulate('click');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user