Skip to content

Commit 0062a8f

Browse files
NickNYUnzhu
authored andcommitted
fix: skip tool-name-aliaser in dynamic tool discovery test
The `has all tools` e2e test dynamically imports all files in build/src/tools/ and invokes exported functions as tool factories. The ToolNameAliaser class export needs to be skipped like ToolDefinition.
1 parent 3120ad6 commit 0062a8f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/index.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ describe('e2e', () => {
8080
for (const file of files) {
8181
if (
8282
file === 'ToolDefinition.js' ||
83+
file === 'tool-name-aliaser.js' ||
8384
file === 'tools.js' ||
8485
file === 'slim'
8586
) {

0 commit comments

Comments
 (0)