mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-15 23:01:37 +00:00
10 lines
421 B
TypeScript
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");
|
|
});
|
|
});
|