From 4de54fed0c6b85217da98e10dacf62696a4bbad4 Mon Sep 17 00:00:00 2001 From: David Soria Parra Date: Tue, 9 Sep 2025 14:30:40 +0100 Subject: [PATCH] Add the checkIcon test, so that tests aren't failing anymore --- src/spec.types.test.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/spec.types.test.ts b/src/spec.types.test.ts index 09e41189..ae47d9de 100644 --- a/src/spec.types.test.ts +++ b/src/spec.types.test.ts @@ -663,6 +663,13 @@ function checkLoggingLevel( sdk = spec; spec = sdk; } +function checkIcon( + sdk: RemovePassthrough, + spec: SpecTypes.Icon +) { + sdk = spec; + spec = sdk; +} // This file is .gitignore'd, and fetched by `npm run fetch:spec-types` (called by `npm run test`) const SPEC_TYPES_FILE = 'spec.types.ts'; @@ -692,7 +699,7 @@ describe('Spec Types', () => { it('should define some expected types', () => { expect(specTypes).toContain('JSONRPCNotification'); expect(specTypes).toContain('ElicitResult'); - expect(specTypes).toHaveLength(92); + expect(specTypes).toHaveLength(93); }); it('should have up to date list of missing sdk types', () => {