Skip to content

Testing

TypeScript app

bash
npm run lint
npm run test:run
npm run build

Go emulator

bash
cd tools/emulator-go
go test ./...

Emulator scenarios

Run emulator with scripted fault cases to validate UI error paths:

  • happy
  • timeout
  • malformed
  • short-read
  • bad-ack
  • disconnect

Example:

bash
npm run emulator:uv82 -- timeout