From ab605e37df5a1f61ce6d1d06f4f405823432dc64 Mon Sep 17 00:00:00 2001 From: Tom Ratcliffe Date: Wed, 10 Apr 2024 09:37:55 +0100 Subject: [PATCH] Remove unnecessary server.listen() --- public/app/features/alerting/unified/hooks/useAbilities.test.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/public/app/features/alerting/unified/hooks/useAbilities.test.tsx b/public/app/features/alerting/unified/hooks/useAbilities.test.tsx index 2f2660e551ac..41adb37d285d 100644 --- a/public/app/features/alerting/unified/hooks/useAbilities.test.tsx +++ b/public/app/features/alerting/unified/hooks/useAbilities.test.tsx @@ -156,7 +156,6 @@ describe('AlertRule abilities', () => { }) ); mockAlertmanagerChoiceResponse(server, defaultAlertmanagerChoiceResponse); - server.listen(); const abilities = renderHook(() => useAllAlertRuleAbilities(rule), { wrapper: TestProvider });