From ace3a89f3beda1a0c4712e7bff513ea076bee617 Mon Sep 17 00:00:00 2001 From: Paul Paterson Date: Tue, 26 Nov 2024 11:14:55 -0500 Subject: [PATCH] use separate history files --- test/shell.mjs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/shell.mjs b/test/shell.mjs index 9c55e2cb..71fc6d93 100644 --- a/test/shell.mjs +++ b/test/shell.mjs @@ -118,6 +118,8 @@ describe("shell", function () { const downArrow = "\x1b[B"; it("can keep track of history", async function () { + registerHomedir(container, "track-history"); + // start the shell const runPromise = run(`shell --secret "secret" --typecheck`, container); @@ -155,6 +157,8 @@ describe("shell", function () { }); it("can clear history", async function () { + registerHomedir(container, "clear-history"); + // start the shell const runPromise = run(`shell --secret "secret" --typecheck`, container);