From b6e00f9a492d84a9b6915e998b6309e61c9aa0cd Mon Sep 17 00:00:00 2001 From: Olivier Chafik Date: Fri, 4 Jul 2025 10:33:14 +0100 Subject: [PATCH] Update spec.types.test.ts --- src/spec.types.test.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 +});