We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 93a5ca2 commit 539e0e4Copy full SHA for 539e0e4
1 file changed
packages/client/test/client/auth.test.ts
@@ -1659,7 +1659,7 @@ describe('OAuth Authorization', () => {
1659
fetchFn: mockFetch,
1660
});
1661
1662
- const fetchUrl = new URL(mockFetch.mock.calls[0][0]);
+ const fetchUrl = new URL(mockFetch.mock.calls[0]![0] as string);
1663
expect(fetchUrl.pathname).toBe('/admin/token');
1664
1665
0 commit comments