Undici is a HTTP/1.1 client that is written from scratch and represents the evolution of the Node.js HTTP stack. Because Undici re-invents HTTP primitives and relies directly on sockets, our established mocking approaches like Nock no longer work. Luckily, Undici comes with its own built-in mocks, so we can still write unit tests against it.