jest-prisma icon indicating copy to clipboard operation
jest-prisma copied to clipboard

Jest environment for integrated testing with Prisma client

Results 22 jest-prisma issues
Sort by recently updated
recently updated
newest added

I'm in a nestjs app, so depending on js-dom seems odd. Maybe having a @quramy/jest-prisma/environment/node @quramy/jest-prisma/environment/js-dom seems more fitting

An error occurred when using the [raw database access](https://www.prisma.io/docs/concepts/components/prisma-client/raw-database-access) method and building raw query with `Prisma.sql` tag function. Example below: ```javascript import { Prisma } from '@prisma/client' const { client...

Hello, Really nice library! Run into an issue with `enableExperimentalRollbackInTransaction` flag. My environment: ``` MySQL v8.0.34 Prisma v5.1.1 ``` I'm trying to test the endpoint with the transaction inside and...

We've been seeing the following error in our tests, and I was assuming it would go away when we add jest-prisma: ``` console.warn warn(prisma-client) There are already 10 instances of...

In the documentation it says ``` /* setup-prisma.js */ jest.mock("./src/client", () => { return { prisma: jestPrisma.client, }; }); ``` When running `npm test` it says: ``` ReferenceError: /Users/myname/w/myrepo/setup-prisma.js: The...

When I try to use this library, I got transplile error at delegate.d.ts. This seems to be wrong type definition ```typescript getClient(): PrismaClient | undefined; ``` Error Message ```shell Generic...

I'm sorry if it's already known, but I can't input Date JS object as DateTime type fields at where operators using `jestPrisma.client` in my environment though original prisma client passes...

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@prisma/client](https://www.prisma.io) ([source](https://togithub.com/prisma/prisma/tree/HEAD/packages/client)) | [`5.17.0` -> `5.18.0`](https://renovatebot.com/diffs/npm/@prisma%2fclient/5.17.0/5.18.0) |...

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [rimraf](https://togithub.com/isaacs/rimraf) | [`5.0.7` -> `5.0.10`](https://renovatebot.com/diffs/npm/rimraf/5.0.7/5.0.10) | [![age](https://developer.mend.io/api/mc/badges/age/npm/rimraf/5.0.10?slim=true)](https://docs.renovatebot.com/merge-confidence/)...

This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [prettier](https://prettier.io) ([source](https://togithub.com/prettier/prettier)) | [`3.3.2` -> `3.3.3`](https://renovatebot.com/diffs/npm/prettier/3.3.2/3.3.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/prettier/3.3.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) |...