Skip to content

Commit

Permalink
chore: update imports
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenyong committed May 13, 2024
1 parent 1ac2dd7 commit b8f492c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/fixtures/customTarget.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import type { Target } from '../targets/index.js';

import { request } from '../targets/node/request/client.js';
import { axios } from '../targets/node/axios/client.js';

export const customTarget = {
info: {
key: 'js-variant',
title: 'JavaScript Variant',
extname: '.js',
default: 'request',
default: 'axios',
},
clientsById: {
request,
axios,
},
} as unknown as Target;
2 changes: 1 addition & 1 deletion src/targets/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ describe('addTarget', () => {
default: 'axios',
},
clientsById: {
axios: axiosClient
axios: axiosClient,
},
};

Expand Down

0 comments on commit b8f492c

Please sign in to comment.