resolve git leaks error
This commit is contained in:
1 parent
81895a9a53
commit
c411c2043f
1 file changed
+1
-1
@@ -34,7 +34,7 @@ describe('authenticateMcpRequest', () => {
|
|||||||
expect(response.headers.get('cache-control')).toBe('no-store');
|
expect(response.headers.get('cache-control')).toBe('no-store');
|
||||||
});
|
});
|
||||||
|
|
||||||
test.each(['not-a-token', 'eyJhbGciOiJIUzI1NiJ9.eyJ0eXBlIjoib2F1dGhfYWNjZXNzIn0.signature'])(
|
test.each(['not-a-token', 'not-a-key'])(
|
||||||
'rejects non-API-key credentials: %s',
|
'rejects non-API-key credentials: %s',
|
||||||
async token => {
|
async token => {
|
||||||
await expect(authenticateMcpRequest(request(token))).resolves.toMatchObject({
|
await expect(authenticateMcpRequest(request(token))).resolves.toMatchObject({
|
||||||
|
|||||||
Reference in new issue
Block a user