Remove undici and old mocks

Signed-off-by: enyineer <nico.enking@gmail.com>
This commit is contained in:
enyineer
2025-11-19 10:11:12 +01:00
parent 84a0dff66f
commit 1a483ed02f
4 changed files with 2 additions and 13 deletions
@@ -15,10 +15,10 @@
*/
import { bootstrapEnvProxyAgents } from './proxyBootstrap';
// Avoid mutating the global agents used in other tests
jest.mock('global-agent', () => ({
bootstrap: jest.fn(),
}));
jest.mock('undici', () => ({
setGlobalDispatcher: jest.fn(),
EnvHttpProxyAgent: jest.fn(),