sandbox-agent/foundry/packages/cli/test/tmux.test.ts
Nathan Flurry d75e8c31d1
Rename Foundry handoffs to tasks (#239)
* Restore foundry onboarding stack

* Consolidate foundry rename

* Create foundry tasks without prompts

* Rename Foundry handoffs to tasks
2026-03-11 13:23:54 -07:00

10 lines
421 B
TypeScript

import { describe, expect, it } from "vitest";
import { stripStatusPrefix } from "../src/tmux.js";
describe("tmux helpers", () => {
it("strips running and idle markers from window names", () => {
expect(stripStatusPrefix("▶ feature/auth")).toBe("feature/auth");
expect(stripStatusPrefix("✓ feature/auth")).toBe("feature/auth");
expect(stripStatusPrefix("feature/auth")).toBe("feature/auth");
});
});