File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -676,9 +676,9 @@ const MISSING_SDK_TYPES = [
676
676
677
677
// These aren't supported by the SDK yet:
678
678
// TODO: Add definitions to the SDK
679
+ 'Annotations' ,
679
680
'ModelHint' ,
680
681
'ModelPreferences' ,
681
- 'Annotations' ,
682
682
]
683
683
684
684
function extractExportedTypes ( source : string ) : string [ ] {
@@ -693,6 +693,7 @@ describe('Spec Types', () => {
693
693
it ( 'should define some expected types' , ( ) => {
694
694
expect ( specTypes ) . toContain ( 'JSONRPCNotification' ) ;
695
695
expect ( specTypes ) . toContain ( 'ElicitResult' ) ;
696
+ expect ( specTypes ) . toHaveLength ( 91 ) ;
696
697
} ) ;
697
698
698
699
it ( 'should have up to date list of missing sdk types' , ( ) => {
@@ -709,4 +710,4 @@ describe('Spec Types', () => {
709
710
expect ( testSource ) . toContain ( `function check${ type } (` ) ;
710
711
} ) ;
711
712
}
712
- } ) ;
713
+ } ) ;
You can’t perform that action at this time.
0 commit comments