Skip to content

Commit 3bf9265

Browse files
Migrate from node-fetch to native Node.js fetch implementation
Co-authored-by: brendandburns <5751682+brendandburns@users.noreply.github.com>
1 parent 9ce3ac2 commit 3bf9265

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/config_test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ describe('KubeConfig', () => {
306306
strictEqual(headers.get('list'), 'a, b');
307307
strictEqual(headers.get('number'), '5');
308308
strictEqual(headers.get('string'), 'str');
309-
assertRequestAgentsEqual(requestInit.agent as Agent, expectedAgent);
309+
assertRequestAgentsEqual((requestInit as any).agent as Agent, expectedAgent);
310310
});
311311
});
312312

0 commit comments

Comments
 (0)