Runtime
Getting Started with teatest in TypeScript: Test Your Terminal Apps, Keys, Waits and Golden Files
A from-zero guide to @oakoliver/teatest, the TypeScript port of Charm's testing library for Bubble Tea. Run a program headless, press keys, wait for output, check the final model, compare the whole output with a golden file, take the clock out of a test, and use it from bun test, node:test or Vitest. Every program runs.
November 1, 2026
13 min read
Read Story →