Skip to content

Commit 73e33a9

Browse files
committed
* In elicitation.test.ts
- removed @ts-expect-error instances
1 parent 1f99fdf commit 73e33a9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/server/elicitation.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,6 @@ function testElicitationFlow(validatorProvider: typeof ajvProvider | typeof cfWo
159159
age: { type: 'integer', minimum: 0, maximum: 150 },
160160
street: { type: 'string' },
161161
city: { type: 'string' },
162-
// @ts-expect-error - pattern is not a valid property by MCP spec, however it is making use of the Ajv validator
163162
zipCode: { type: 'string', pattern: '^[0-9]{5}$' },
164163
newsletter: { type: 'boolean' },
165164
notifications: { type: 'boolean' }
@@ -274,7 +273,6 @@ function testElicitationFlow(validatorProvider: typeof ajvProvider | typeof cfWo
274273
requestedSchema: {
275274
type: 'object',
276275
properties: {
277-
// @ts-expect-error - pattern is not a valid property by MCP spec, however it is making use of the Ajv validator
278276
zipCode: { type: 'string', pattern: '^[0-9]{5}$' }
279277
},
280278
required: ['zipCode']

0 commit comments

Comments
 (0)