Isolate your Node.js tests by mocking external dependencies. Learn how to use Jest mocks, stubs, and spies to test code without hitting databases.