mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-30 23:14:32 -07:00
test(evals): fix overlapping act() deadlock in app-test-helper (#23666)
This commit is contained in:
@@ -79,7 +79,7 @@ export function appEvalTest(policy: EvalPolicy, evalCase: AppEvalCase) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Render the app!
|
// Render the app!
|
||||||
rig.render();
|
await rig.render();
|
||||||
|
|
||||||
// Wait for initial ready state
|
// Wait for initial ready state
|
||||||
await rig.waitForIdle();
|
await rig.waitForIdle();
|
||||||
|
|||||||
@@ -66,7 +66,10 @@ beforeEach(() => {
|
|||||||
? stackLines.slice(lastReactFrameIndex + 1).join('\n')
|
? stackLines.slice(lastReactFrameIndex + 1).join('\n')
|
||||||
: stackLines.slice(1).join('\n');
|
: stackLines.slice(1).join('\n');
|
||||||
|
|
||||||
if (relevantStack.includes('OverflowContext.tsx')) {
|
if (
|
||||||
|
relevantStack.includes('OverflowContext.tsx') ||
|
||||||
|
relevantStack.includes('useTimedMessage.ts')
|
||||||
|
) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user