Skip to content

Commit cf9b599

Browse files
committed
remove test of deprecated param
1 parent f149b1a commit cf9b599

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

src/client/user-management.spec.ts

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -136,23 +136,6 @@ describe('Public User Management Methods', () => {
136136
"Incomplete arguments. Need to specify either a 'connectionId', 'organizationId', or 'provider'.",
137137
);
138138
});
139-
140-
it('warns about deprecated context parameter', () => {
141-
const consoleSpy = jest.spyOn(console, 'warn').mockImplementation();
142-
143-
getAuthorizationUrl({
144-
clientId: 'client_123',
145-
redirectUri: 'https://app.com/callback',
146-
provider: 'authkit',
147-
context: 'deprecated_context',
148-
});
149-
150-
expect(consoleSpy).toHaveBeenCalledWith(
151-
expect.stringContaining('context` is deprecated'),
152-
);
153-
154-
consoleSpy.mockRestore();
155-
});
156139
});
157140

158141
describe('getLogoutUrl', () => {

0 commit comments

Comments
 (0)