splitting unit + integration testing apart attempt #1
Some checks failed
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Failing after 3m36s
Some checks failed
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Failing after 3m36s
This commit is contained in:
@@ -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(),
|
||||
}));
|
||||
Reference in New Issue
Block a user