Commit f246c452 authored by Coung Ngo's avatar Coung Ngo Committed by Alexander Turinske

Apply 2 suggestion(s) to 2 file(s)

parent 151725fe
......@@ -163,7 +163,7 @@ describe('Alert Drawer', () => {
});
});
it('handles an alert status update', async () => {
it('handles an alert status update', () => {
createWrapper({ props: { selectedAlert: mockAlerts[0] } });
expect(wrapper.emitted('alert-update')).toBeUndefined();
findStatus().vm.$emit('alert-update');
......
......@@ -121,7 +121,7 @@ describe('Alert Details Sidebar Status', () => {
expect(findStatus().text()).toBe('Triggered');
});
it('emits "alert-update" when the status has been updated', async () => {
it('emits "alert-update" when the status has been updated', () => {
mountComponent({ sidebarCollapsed: false });
expect(wrapper.emitted('alert-update')).toBeUndefined();
findAlertStatus().vm.$emit('handle-updating');
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment