mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-10 14:10:37 -07:00
Refactor: Introduce InteractiveRun class (#10947)
This commit is contained in:
committed by
GitHub
parent
09ef33ec3a
commit
5dc7059ba3
@@ -5,7 +5,12 @@
|
||||
*/
|
||||
|
||||
import { describe, it, expect } from 'vitest';
|
||||
import { TestRig, printDebugInfo, validateModelOutput } from './test-helper.js';
|
||||
import {
|
||||
TestRig,
|
||||
poll,
|
||||
printDebugInfo,
|
||||
validateModelOutput,
|
||||
} from './test-helper.js';
|
||||
import { existsSync } from 'node:fs';
|
||||
import { join } from 'node:path';
|
||||
|
||||
@@ -18,7 +23,7 @@ describe('list_directory', () => {
|
||||
rig.sync();
|
||||
|
||||
// Poll for filesystem changes to propagate in containers
|
||||
await rig.poll(
|
||||
await poll(
|
||||
() => {
|
||||
// Check if the files exist in the test directory
|
||||
const file1Path = join(rig.testDir!, 'file1.txt');
|
||||
|
||||
Reference in New Issue
Block a user