Skip to content

Commit b6e00f9

Browse files
committed
Update spec.types.test.ts
1 parent 3ae5522 commit b6e00f9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/spec.types.test.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -676,9 +676,9 @@ const MISSING_SDK_TYPES = [
676676

677677
// These aren't supported by the SDK yet:
678678
// TODO: Add definitions to the SDK
679+
'Annotations',
679680
'ModelHint',
680681
'ModelPreferences',
681-
'Annotations',
682682
]
683683

684684
function extractExportedTypes(source: string): string[] {
@@ -693,6 +693,7 @@ describe('Spec Types', () => {
693693
it('should define some expected types', () => {
694694
expect(specTypes).toContain('JSONRPCNotification');
695695
expect(specTypes).toContain('ElicitResult');
696+
expect(specTypes).toHaveLength(91);
696697
});
697698

698699
it('should have up to date list of missing sdk types', () => {
@@ -709,4 +710,4 @@ describe('Spec Types', () => {
709710
expect(testSource).toContain(`function check${type}(`);
710711
});
711712
}
712-
});
713+
});

0 commit comments

Comments
 (0)