Y
Hacker News
new
|
ask
|
show
|
jobs
by
jherdman
1279 days ago
I'd love to hear about your testing story with Prisma. I recently looked into it but was disappointed to see the recommended approach was more or less to nuke the contents of the DB (
https://www.prisma.io/docs/guides/testing/integration-testin...
) instead of just rolling back a named transaction at the end of a test (a la
https://hexdocs.pm/ecto_sql/Ecto.Adapters.SQL.Sandbox.html
, or just about every other framework I've used with Ruby or Elixir).