SEP-1319: Decouple Request Payloads, Remove passthrough iteration, Typecheck fixes (#1086)
This commit is contained in:
parent
806d7cf9c0
commit
f59996ae66
1 changed files with 2840 additions and 951 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue