mirror of
https://github.com/getpaseo/paseo.git
synced 2026-07-29 12:01:31 +00:00
30 lines
752 B
TypeScript
30 lines
752 B
TypeScript
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;
|
|
});
|