Преглед на файлове

Fix unused variable in test file causing Docker build failure

maziggy преди 9 месеца
родител
ревизия
3a0890145b
променени са 1 файла, в които са добавени 0 реда и са изтрити 6 реда
  1. 0 6
      frontend/src/__tests__/components/NotificationProviderCard.test.tsx

+ 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 });