Relase: Clean up and condensing (#3321)

This commit is contained in:
matt korwel
2025-07-05 13:58:59 -07:00
committed by GitHub
parent 4be32d1f73
commit a7256f630c
13 changed files with 349 additions and 442 deletions

View File

@@ -18,6 +18,8 @@ test('should be able to list a directory', async (t) => {
const prompt = `Can you list the files in the current directory`;
const result = await rig.run(prompt);
assert.ok(result.includes('file1.txt'));
assert.ok(result.includes('subdir'));
const lines = result.split('\n').filter((line) => line.trim() !== '');
assert.equal(lines.length, 2);
assert.ok(lines.includes('file1.txt'));
assert.ok(lines.includes('subdir'));
});