mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-26 04:54:25 -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
@@ -75,7 +75,9 @@ describe('BaseSelectionList', () => {
|
||||
...props,
|
||||
};
|
||||
|
||||
const result = renderWithProviders(<BaseSelectionList {...defaultProps} />);
|
||||
const result = await renderWithProviders(
|
||||
<BaseSelectionList {...defaultProps} />,
|
||||
);
|
||||
await result.waitUntilReady();
|
||||
return result;
|
||||
};
|
||||
@@ -310,7 +312,7 @@ describe('BaseSelectionList', () => {
|
||||
);
|
||||
|
||||
const { rerender, lastFrame, waitUntilReady, unmount } =
|
||||
renderWithProviders(<BaseSelectionList {...componentProps} />);
|
||||
await renderWithProviders(<BaseSelectionList {...componentProps} />);
|
||||
await waitUntilReady();
|
||||
|
||||
// Function to simulate the activeIndex changing over time
|
||||
|
||||
Reference in New Issue
Block a user