Просмотр исходного кода

Fix unused variable in test file causing Docker build failure

maziggy 8 месяцев назад
Родитель
Сommit
3a0890145b

+ 0 - 6
frontend/src/__tests__/components/NotificationProviderCard.test.tsx

@@ -173,12 +173,6 @@ describe('NotificationProviderCard', () => {
 });
 
 describe('NotificationProviderCard AMS toggles', () => {
-  const mockOnEdit = vi.fn();
-
-  beforeEach(() => {
-    vi.clearAllMocks();
-  });
-
   describe('AMS humidity notifications', () => {
     it('includes on_ams_humidity_high in provider data', () => {
       const provider = createMockProvider({ on_ams_humidity_high: true });