Skip to content

Commit f371b78

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

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
@@ -2621,7 +2621,7 @@ describe('OAuth Authorization', () => {
26212621
});
26222622

26232623
expect(customFetch).toHaveBeenCalled();
2624-
const [url, options] = customFetch.mock.calls[0];
2624+
const [, options] = customFetch.mock.calls[0];
26252625

26262626
// Auth-specific Accept header should override base Accept header
26272627
expect(options.headers).toMatchObject({
@@ -2656,7 +2656,7 @@ describe('OAuth Authorization', () => {
26562656
await discoverOAuthProtectedResourceMetadata('https://resource.example.com', undefined, wrappedFetch);
26572657

26582658
expect(customFetch).toHaveBeenCalledTimes(1);
2659-
const [url, options] = customFetch.mock.calls[0];
2659+
const [, options] = customFetch.mock.calls[0];
26602660

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

0 commit comments

Comments
 (0)