Skip to content

Commit

Permalink
chore: add note
Browse files Browse the repository at this point in the history
  • Loading branch information
fdarian committed Jul 14, 2024
1 parent 9595840 commit 7cfb8ac
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions TESTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
## Testing Notes

> Quick notes on the findings when building the test, not a comprehensive guide yet.
### On using Vitest

- Although this project uses bun for the package manager, Vitest is used for testing solely because of its [typechecking capabilities](https://vitest.dev/guide/testing-types).

- When running Vitest using Bun (`bun vitest run`), there are still `node` calls occurring in the background. Therefore, ensure that you specify `bunx prisma-generator-drizzle` when building the Prisma schema.

- We're considering a full migration to `pnpm` + `vitest` in the future for the sake of consistency.

0 comments on commit 7cfb8ac

Please sign in to comment.