fix: correct error handling for unknown tools and resources (#1389)
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
This commit is contained in:
parent
ad4b2f9cac
commit
108f2f3ab6
1 changed files with 123 additions and 23 deletions
|
|
@ -305,7 +305,7 @@ describe('createPrivateKeyJwtAuth', () => {
|
|||
|
||||
const params = new URLSearchParams();
|
||||
await expect(addClientAuth(new Headers(), params, 'https://auth.example.com/token', undefined)).rejects.toThrow(
|
||||
/Invalid character/
|
||||
/cannot be part of a valid base64|Invalid character/
|
||||
);
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue