Created ManageServersRowDropdown test

This commit is contained in:
Alejandro Celaya
2021-10-23 10:55:52 +02:00
parent c7c32b494e
commit 8618519b6b
8 changed files with 93 additions and 8 deletions

View File

@@ -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();
});