Backend Source

- **Integration tests using a real database must clean up after themselves** — tests run against shared Neon branches. Always delete created rows in `afterAll` so other test suites aren't affected by leftover data. Tests using mock repositories (`createMockContainer`) do not need cleanup.

Views0
PublishedFeb 16, 2026

Loading actions...

5 minBeginnerpromptSingle file

Skill content

Main instructions and any bundled files for this skill.

markdown

Backend Source

  • Integration tests using a real database must clean up after themselves — tests run against shared Neon branches. Always delete created rows in afterAll so other test suites aren't affected by leftover data. Tests using mock repositories (createMockContainer) do not need cleanup.
Share: