splitting unit + integration testing apart attempt #1
Some checks failed
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Failing after 3m36s

This commit is contained in:
2025-11-30 15:55:26 -08:00
parent 3b25d185c1
commit a006e58444

View File

@@ -154,4 +154,14 @@ vi.mock('../../services/logger', () => ({
error: vi.fn(),
debug: vi.fn(),
},
}));
/**
* Mocks the notification service.
* This allows tests to assert that success or error notifications are triggered
* without actually rendering `react-hot-toast` components.
*/
vi.mock('../../services/notificationService', () => ({
notifySuccess: vi.fn(),
notifyError: vi.fn(),
}));