Skip to content

Commit c8a2214

Browse files
committed
test(sessions): align parent fork mock shape
1 parent 003c519 commit c8a2214

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/auto-reply/reply/session.test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ vi.mock("./session-fork.js", () => ({
7979
entry: SessionEntry;
8080
parentEntry: SessionEntry;
8181
}) => Partial<SessionEntry>;
82-
sessionsDir: string;
8382
}) => {
8483
const store = JSON.parse(await fs.readFile(params.storePath, "utf-8")) as Record<
8584
string,
@@ -116,7 +115,7 @@ vi.mock("./session-fork.js", () => ({
116115
}
117116
const fork = await sessionForkMocks.forkSessionFromParent({
118117
parentEntry,
119-
sessionsDir: params.sessionsDir,
118+
storePath: params.storePath,
120119
});
121120
if (!fork) {
122121
return { status: "failed" };

0 commit comments

Comments
 (0)