prisma-database-cleaner

0.0.2 • Public • Published

prisma-database-cleaner

Utility for cleaning your Prisma database between test runs.

Setup

pnpm install -D prisma-database-cleaner

Usage

Call truncateAll() before each test run.

import { truncateAll } from 'prisma-database-cleaner'

beforeEach(truncateAll)

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i prisma-database-cleaner

Weekly Downloads

0

Version

0.0.2

License

MIT

Unpacked Size

1.67 kB

Total Files

3

Last publish

Collaborators

  • joshnuss