mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-13 05:12:55 -07:00
fix(cli): fix type error in SkillCommandLoader tests
This commit is contained in:
@@ -119,7 +119,7 @@ describe('SkillCommandLoader', () => {
|
|||||||
expect(commands[0].name).toBe('my-awesome-skill');
|
expect(commands[0].name).toBe('my-awesome-skill');
|
||||||
|
|
||||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||||
const actionResult = await commands[0].action!({} as any, '');
|
const actionResult = (await commands[0].action!({} as any, '')) as any;
|
||||||
expect(actionResult.toolArgs).toEqual({ name: 'my awesome skill' });
|
expect(actionResult.toolArgs).toEqual({ name: 'my awesome skill' });
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user