Skip to content

Commit

Permalink
Fix examples
Browse files Browse the repository at this point in the history
  • Loading branch information
hokaccha committed Mar 24, 2024
1 parent 175878c commit 62d9532
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion example/with-fabbrica/src/UserService.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { cleaner } from "../test/cleaner";

const UserFactory = defineUserFactory();

describe("user", () => {
describe("UserService", () => {
const prisma = new PrismaClient().$extends(
cleaner.withCleaner(),
) as PrismaClient;
Expand Down
2 changes: 1 addition & 1 deletion example/with-jest/src/UserService.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { PrismaClient } from "@prisma/client";
import { UserService } from "./UserService";
import { cleaner } from "../test/cleaner";

describe("user", () => {
describe("UserService", () => {
const prisma = new PrismaClient().$extends(
cleaner.withCleaner(),
) as PrismaClient;
Expand Down
2 changes: 1 addition & 1 deletion example/with-vitest/src/UserService.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { describe, it, expect } from "vitest";
import { UserService } from "./UserService";
import { cleaner } from "../test/cleaner";

describe("user", () => {
describe("UserService", () => {
const prisma = new PrismaClient().$extends(
cleaner.withCleaner(),
) as PrismaClient;
Expand Down

0 comments on commit 62d9532

Please sign in to comment.