fix(tests): iteration 6

This commit is contained in:
Mohamed Boudra
2026-03-13 13:42:51 +07:00
parent 40b9b4672e
commit 10671cf999
3 changed files with 64 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
import { createE2ETestContext } from '/Users/moboudra/.paseo/worktrees/1luy0po7/beefy-parrot/packages/cli/tests/helpers/test-daemon.ts'
async function main() {
const ctx = await createE2ETestContext({ timeout: 180000 })
try {
const run = await ctx.paseo([
'run',
'--provider','opencode',
'--mode','default',
'--model','opencode/kimi-k2.5-free',
'Say hello in one short sentence.'
], { timeout: 180000 })
console.log('EXIT', run.exitCode)
console.log('STDOUT\n' + run.stdout)
console.log('STDERR\n' + run.stderr)
} finally {
await ctx.stop()
}
}
main().catch((error) => { console.error(error); process.exitCode = 1 })