Files
oh-my-opencode/src/features/tmux-subagent/attachable-session-status.test.ts
T
2026-05-15 23:12:56 +09:00

19 lines
463 B
TypeScript

/// <reference types="bun-types" />
import { describe, expect, test } from "bun:test"
import { isAttachableSessionStatus } from "./attachable-session-status"
describe("isAttachableSessionStatus", () => {
test("#given a busy session #when checking attachability #then it is attachable", () => {
//#given
const status = "busy"
//#when
const attachable = isAttachableSessionStatus(status)
//#then
expect(attachable).toBe(true)
})
})