@paintless/adapter-kit
v0.1.0
Published
Contract-test suite and fixtures for Paintless adapter authors
Maintainers
Readme
@paintless/adapter-kit
Contract tests and fixtures for adapter authors — the suite that proves an adapter is interchangeable.
import { sampleChangeRequest, verifyDestination } from '@paintless/adapter-kit'
const receipt = await verifyDestination(myDestination, { input: sampleChangeRequest() })verifyAgentAdapter checks the event contract (a started first, exactly one
terminal event, no writes outside the repo root); verifyDestination checks that
both input kinds are handled and a receipt comes back. A dev dependency only.
Part of Paintless — click an element in a running app, describe the change, let an agent make it. Docs: https://kyechan99.github.io/paintless/
MIT © kyechan99
