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 Updated 98 repo stars
Demo

File contents

filipebraida/adonisjs-starter-kit commit bcfaa13298

Frequently asked questions

npx get-skill add filipebraida/testing