tmux-party/tests/00-meta.bats
veg 6be0ac1877 Initial pre-release
tmux-party: share a tmux session with people on the same UNIX host.
Single-file POSIX shell (party) with a filesystem + tmux server-access
trust model. See README.md.
2026-06-01 15:31:54 +00:00

20 lines
438 B
Bash

#!/usr/bin/env bats
load 'helpers'
setup() { setup_party_sandbox; }
teardown() { teardown_party_sandbox; }
@test "test harness can locate the party binary path" {
[ -n "$PARTY_BIN" ]
# The file does not need to exist yet at this stage; we're proving
# the path is computed correctly.
case "$PARTY_BIN" in
*/party) ;;
*) false ;;
esac
}
@test "sandbox setup creates the override dir" {
[ -d "$PARTY_SOCKET_DIR" ]
}