From 1ac2dd7a756ea6c72c34649e2280fbb6bc3eec80 Mon Sep 17 00:00:00 2001 From: Darren Yong Date: Tue, 7 May 2024 12:20:43 -0700 Subject: [PATCH] test: update test to use existing client --- src/targets/index.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/targets/index.test.ts b/src/targets/index.test.ts index 97eaade1..19843bcb 100644 --- a/src/targets/index.test.ts +++ b/src/targets/index.test.ts @@ -266,7 +266,7 @@ describe('addTarget', () => { }); it('should add a new custom target', async () => { - const { fetch: fetchClient } = await import('./node/fetch/client'); + const { axios: axiosClient } = await import('./node/axios/client'); const deno: Target = { info: { @@ -274,10 +274,10 @@ describe('addTarget', () => { key: 'deno', title: 'Deno', extname: '.js', - default: 'fetch', + default: 'axios', }, clientsById: { - fetch: fetchClient, + axios: axiosClient }, };