Skip to content

Commit cedc3fa

Browse files
committed
chore: update test
1 parent cef9967 commit cedc3fa

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/cli/src/__tests__/commands/respect/create-network-dispatcher.test.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { ProxyAgent } from 'undici';
2-
import {
2+
import {
33
createNetworkDispatcher,
44
type MtlsPerDomainCerts,
5-
withMtlsClientIfNeeded,
5+
withConnectionClient,
66
} from '../../../commands/respect/connection-client.js';
77

88
describe('createNetworkDispatcher', () => {
@@ -63,7 +63,7 @@ describe('withMtlsClientIfNeeded', () => {
6363
},
6464
};
6565

66-
const customFetch = withMtlsClientIfNeeded(perDomainCerts);
66+
const customFetch = withConnectionClient(perDomainCerts);
6767
expect(customFetch).not.toBe(fetch);
6868
expect(typeof customFetch).toBe('function');
6969
});
@@ -76,7 +76,7 @@ describe('withMtlsClientIfNeeded', () => {
7676
},
7777
};
7878

79-
const customFetch = withMtlsClientIfNeeded(perDomainCerts);
79+
const customFetch = withConnectionClient(perDomainCerts);
8080
expect(customFetch).not.toBe(fetch);
8181
expect(typeof customFetch).toBe('function');
8282
});
@@ -93,7 +93,7 @@ describe('withMtlsClientIfNeeded', () => {
9393
},
9494
};
9595

96-
const customFetch = withMtlsClientIfNeeded(perDomainCerts);
96+
const customFetch = withConnectionClient(perDomainCerts);
9797
expect(customFetch).not.toBe(fetch);
9898
expect(typeof customFetch).toBe('function');
9999
});

0 commit comments

Comments
 (0)