mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-14 15:21:01 -07:00
Don't accept input until slash commands are loaded (#11162)
This commit is contained in:
committed by
GitHub
parent
a2f3339a0e
commit
dabe161a6f
@@ -342,6 +342,8 @@ describe('useSlashCommandProcessor', () => {
|
||||
setMockIsProcessing,
|
||||
);
|
||||
|
||||
await waitFor(() => expect(result.current.slashCommands).toBeDefined());
|
||||
|
||||
await act(async () => {
|
||||
await result.current.handleSlashCommand('/fail');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user