Skip to content

Commit a00e8a3

Browse files
committed
chore(test): format tool.test.ts
1 parent b4ea0c5 commit a00e8a3

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/tool.test.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,7 @@ describe('StackOneTool', () => {
7979
expect(anthropicFormat.name).toBe('test_tool');
8080
expect(anthropicFormat.description).toBe('Test tool');
8181
expect(anthropicFormat.input_schema.type).toBe('object');
82-
const properties = anthropicFormat.input_schema.properties as Record<
83-
string,
84-
{ type: string }
85-
>;
82+
const properties = anthropicFormat.input_schema.properties as Record<string, { type: string }>;
8683
expect(properties.id).toBeDefined();
8784
expect(properties.id.type).toBe('string');
8885
});

0 commit comments

Comments
 (0)