Skip to content

Commit

Permalink
fix: lint again
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurfiorette committed Apr 9, 2023
1 parent a2dbb5f commit 9bb2918
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/interceptors/response.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,9 @@ describe('test response interceptor', () => {
const axios = mockAxios();

const normal = await axios.get('url');
const transformed = await axios.get('url', { transformResponse: (data) => [data] });
const transformed = await axios.get('url', {
transformResponse: (data: unknown) => [data]
});

expect(normal.data).toBe(true);
expect(transformed.data).toStrictEqual([true]);
Expand Down

0 comments on commit 9bb2918

Please sign in to comment.