Remove undici and old mocks
Signed-off-by: enyineer <nico.enking@gmail.com>
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user