We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b4ea0c5 commit a00e8a3Copy full SHA for a00e8a3
src/tool.test.ts
@@ -79,10 +79,7 @@ describe('StackOneTool', () => {
79
expect(anthropicFormat.name).toBe('test_tool');
80
expect(anthropicFormat.description).toBe('Test tool');
81
expect(anthropicFormat.input_schema.type).toBe('object');
82
- const properties = anthropicFormat.input_schema.properties as Record<
83
- string,
84
- { type: string }
85
- >;
+ const properties = anthropicFormat.input_schema.properties as Record<string, { type: string }>;
86
expect(properties.id).toBeDefined();
87
expect(properties.id.type).toBe('string');
88
});
0 commit comments