We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a34337 commit ee6e5bfCopy full SHA for ee6e5bf
packages/client/test/client/auth.test.ts
@@ -3491,12 +3491,8 @@ describe('OAuth Authorization', () => {
3491
expect(() => validateClientMetadataUrl(undefined)).not.toThrow();
3492
});
3493
3494
- it('passes silently when called with no arguments', () => {
3495
- // eslint-disable-next-line unicorn/no-useless-undefined
3496
- expect(() => validateClientMetadataUrl(undefined)).not.toThrow();
3497
- });
3498
-
3499
it('error message matches expected format', () => {
+ expect(() => validateClientMetadataUrl('http://example.com/path')).toThrow(OAuthError);
3500
try {
3501
validateClientMetadataUrl('http://example.com/path');
3502
} catch (error) {
0 commit comments