Skip to content

Commit 539e0e4

Browse files
committed
fix: add non-null assertion for TypeScript strict mode in test
1 parent 93a5ca2 commit 539e0e4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/client/test/client/auth.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1659,7 +1659,7 @@ describe('OAuth Authorization', () => {
16591659
fetchFn: mockFetch,
16601660
});
16611661

1662-
const fetchUrl = new URL(mockFetch.mock.calls[0][0]);
1662+
const fetchUrl = new URL(mockFetch.mock.calls[0]![0] as string);
16631663
expect(fetchUrl.pathname).toBe('/admin/token');
16641664
});
16651665

0 commit comments

Comments
 (0)