Based off Prisma quickstart using sqlite as DB (but I confirmed the bug also on Postgres) so this seems to be a Prisma issue.
Run:
yarn
to install depsyarn start
to run the test (currently fails)
Minimal repro example of a bug with Prisma interactive transactions
TypeScript