Skip to content

Commit e79d978

Browse files
committed
fix: Remove unused url variables in tests
Fix linting errors by removing unused destructured url variables.
1 parent 17d5819 commit e79d978

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/client/auth.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2539,7 +2539,7 @@ describe('OAuth Authorization', () => {
25392539
});
25402540

25412541
expect(customFetch).toHaveBeenCalled();
2542-
const [url, options] = customFetch.mock.calls[0];
2542+
const [, options] = customFetch.mock.calls[0];
25432543

25442544
// Auth-specific Accept header should override base Accept header
25452545
expect(options.headers).toMatchObject({
@@ -2574,7 +2574,7 @@ describe('OAuth Authorization', () => {
25742574
await discoverOAuthProtectedResourceMetadata('https://resource.example.com', undefined, wrappedFetch);
25752575

25762576
expect(customFetch).toHaveBeenCalledTimes(1);
2577-
const [url, options] = customFetch.mock.calls[0];
2577+
const [, options] = customFetch.mock.calls[0];
25782578

25792579
// All RequestInit options should be preserved
25802580
expect(options.credentials).toBe('include');

0 commit comments

Comments
 (0)