diff --git a/examples/trial/hello_world.txt b/examples/trial/hello_world.txt new file mode 100644 index 0000000..8ab686e --- /dev/null +++ b/examples/trial/hello_world.txt @@ -0,0 +1 @@ +Hello, World! diff --git a/hub/test/integration/trigger.test.ts b/hub/test/integration/trigger.test.ts index d61260a..4302865 100644 --- a/hub/test/integration/trigger.test.ts +++ b/hub/test/integration/trigger.test.ts @@ -240,7 +240,7 @@ describe("trigger full lifecycle (integration)", () => { secondRun.resolve(completedRunResult("second done", "sdk-session-second")); await vi.waitFor(async () => { - const runs = await prisma.agentRun.findMany({ orderBy: { createdAt: "asc" } }); + const runs = await prisma.agentRun.findMany({ orderBy: { startedAt: "asc" } }); expect(runs).toHaveLength(2); expect(runs.every((run) => run.status === "COMPLETED")).toBe(true); });