mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-20 02:00:40 -07:00
refactor(cli): integrate real config loading into async test utils (#23040)
This commit is contained in:
committed by
GitHub
parent
7de0616229
commit
23264ced9a
@@ -108,10 +108,13 @@ describe('<ModelDialog />', () => {
|
||||
},
|
||||
});
|
||||
|
||||
const result = renderWithProviders(<ModelDialog onClose={mockOnClose} />, {
|
||||
config: configValue,
|
||||
settings,
|
||||
});
|
||||
const result = await renderWithProviders(
|
||||
<ModelDialog onClose={mockOnClose} />,
|
||||
{
|
||||
config: configValue,
|
||||
settings,
|
||||
},
|
||||
);
|
||||
await result.waitUntilReady();
|
||||
return result;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user