Use this when tests hit real external APIs or databases making them slow and flaky. Paste the code under test to get systematic mocking setups for each dependency — MSW for API mocking, jest.useFakeTimers() for time control — with proper setup and cleanup code.