Add the checkIcon test, so that tests aren't failing anymore
This commit is contained in:
parent
217756edf7
commit
4de54fed0c
1 changed files with 8 additions and 1 deletions
|
|
@ -663,6 +663,13 @@ function checkLoggingLevel(
|
|||
sdk = spec;
|
||||
spec = sdk;
|
||||
}
|
||||
function checkIcon(
|
||||
sdk: RemovePassthrough<SDKTypes.Icon>,
|
||||
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', () => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue