Node-based terminal manager for AI coding agents — tmux-backed terminals and parallel agent sessions as draggable nodes on an infinite pan/zoom canvas. macOS, Linux, and a browser Server Edition.
TypeScript adhdagent-orchestrationai-agentscanvasclaude-codecodexcoding-agentsdeveloper-toolselectrongeminilinuxmacosmultiplexeropencodeparallel-agentsterminalterminal-emulatorterminal-multiplexertmuxworkspace-manager
import { describe, it, expect } from 'vitest'
import { cn } from './cn'
describe('cn', () => {
it('joins truthy class names with a space', () => {
expect(cn('a', 'b', 'c')).toBe('a b c')
})
it('drops false, null, and undefined', () => {
expect(cn('a', false, null, undefined, 'b')).toBe('a b')
})
it('returns an empty string when nothing is truthy', () => {
expect(cn(false, null, undefined)).toBe('')
})
})