Testing

Japa test patterns for an AdonisJS app. Functional specs hit real Postgres wrapped in per-test transactions; unit specs stub deps with sinon. Fakes are mandatory for anything that reaches out (mail, drive, emitter, transmit). Trigger on: "write test", "add spec", "cover with tests", "how do we test X", "mock", "fake", "stub".

filipebraida bcfaa13 8.4 KB Updated

File contents

filipebraida/adonisjs-starter-kit/tree/main/packages/skills/testing commit bcfaa13298

Frequently asked questions

npx skillmds@latest add filipebraida/testing