@hazumi/backend-headless
v0.5.0
Published
Headless backend that records commands for assertions.
Readme
@hazumi/backend-headless
Records the command stream instead of rendering it, so tests assert on what was drawn.
import { record, recordCircles } from "hazumi/backends/headless";
const commands = record(buffer);
const circles = recordCircles(buffer);Site: hazumi-eta.vercel.app · Source: github.com/salty-max/hazumi
