Skip to content

Commit

Permalink
use separate history files
Browse files Browse the repository at this point in the history
  • Loading branch information
ptpaterson committed Nov 26, 2024
1 parent 26f2328 commit ace3a89
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/shell.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down Expand Up @@ -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);

Expand Down

0 comments on commit ace3a89

Please sign in to comment.