prismock icon indicating copy to clipboard operation
prismock copied to clipboard

A mock for PrismaClient, dedicated to unit testing.

Results 33 prismock issues
Sort by recently updated
recently updated
newest added

This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more. ## Rate-Limited These updates are currently rate-limited. Click on a checkbox below to force...

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | cimg/node | docker | minor | `22.1.0` -> `22.2.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 | |---|---|---|---|---|---| | [@semantic-release/github](https://togithub.com/semantic-release/github) | [`10.0.3` -> `10.0.4`](https://renovatebot.com/diffs/npm/@semantic-release%2fgithub/10.0.3/10.0.4) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@semantic-release%2fgithub/10.0.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)...

The current code trips on things like: ```typescript this.prisma.someModel.update({ where: { id }, data: { someList: ["a", "b", "c"], }, }) ``` Since the array `["a", "b", "c"]` itself has...

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@typescript-eslint/eslint-plugin](https://typescript-eslint.io/packages/eslint-plugin) ([source](https://togithub.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin)) | [`5.62.0` -> `8.1.0`](https://renovatebot.com/diffs/npm/@typescript-eslint%2feslint-plugin/5.62.0/8.1.0) |...

This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [prettier](https://prettier.io) ([source](https://togithub.com/prettier/prettier)) | [`2.8.8` -> `3.3.3`](https://renovatebot.com/diffs/npm/prettier/2.8.8/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/) |...

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

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

I am using Prismock and am getting this error when creating a new `PrismaClient`: ``` FAIL src/lessons/views.test.ts ● Test suite failed to run TypeError: Cannot read properties of undefined (reading...

I'm using `@@id` to set a field as the ID, but prismock lets me create multiple objects with the same ID. Is this expected? I couldn't find anywhere in the...

enhancement
help wanted