Skip to content

Commit 73f2a38

Browse files
committed
chore: adjust spec
1 parent a623799 commit 73f2a38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/dts-plugin/src/core/lib/archiveHandler.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ describe('archiveHandler', () => {
298298
// Only verify the URL and responseType
299299
const axiosGetMock = vi.mocked(axios.get);
300300
const [[url, options]] = axiosGetMock.mock.calls;
301-
expect(url).toBe(fileToDownload);
301+
expect(url).toBe(new URL(fileToDownload).href);
302302
expect(options.responseType).toBe('arraybuffer');
303303
});
304304

0 commit comments

Comments
 (0)