SEP-1319: Decouple Request Payloads, Remove passthrough iteration, Typecheck fixes (#1086)

This commit is contained in:
Konstantin Konstantinov 2025-11-07 18:50:20 +02:00 • committed by GitHub
commit f59996ae66
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -666,11 +666,13 @@ describe('mergeCapabilities', () => {
const additional: ClientCapabilities = {
experimental: {
feature: true
feature: {
featureFlag: true
}
},
elicitation: {},
roots: {
newProp: true
listChanged: true
}
};
@ -679,11 +681,12 @@ describe('mergeCapabilities', () => {
sampling: {},
elicitation: {},
roots: {
listChanged: true,
newProp: true
listChanged: true
},
experimental: {
feature: true
feature: {
featureFlag: true
}
}
});
});
@ -701,7 +704,7 @@ describe('mergeCapabilities', () => {
subscribe: true
},
prompts: {
newProp: true
listChanged: true
}
};
@ -709,8 +712,7 @@ describe('mergeCapabilities', () => {
expect(merged).toEqual({
logging: {},
prompts: {
listChanged: true,
newProp: true
listChanged: true
},
resources: {
subscribe: true