diff --git a/src/spec.types.test.ts b/src/spec.types.test.ts index ffeffeed..eefc80b5 100644 --- a/src/spec.types.test.ts +++ b/src/spec.types.test.ts @@ -676,9 +676,9 @@ const MISSING_SDK_TYPES = [ // These aren't supported by the SDK yet: // TODO: Add definitions to the SDK + 'Annotations', 'ModelHint', 'ModelPreferences', - 'Annotations', ] function extractExportedTypes(source: string): string[] { @@ -693,6 +693,7 @@ describe('Spec Types', () => { it('should define some expected types', () => { expect(specTypes).toContain('JSONRPCNotification'); expect(specTypes).toContain('ElicitResult'); + expect(specTypes).toHaveLength(91); }); it('should have up to date list of missing sdk types', () => { @@ -709,4 +710,4 @@ describe('Spec Types', () => { expect(testSource).toContain(`function check${type}(`); }); } -}); \ No newline at end of file +});