Skip to content

Commit

Permalink
test: fix test following schema update
Browse files Browse the repository at this point in the history
  • Loading branch information
zz-hh-aa committed Dec 13, 2024
1 parent bc4ddda commit 0807c90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/data/socialRentEarningsRepo.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { socialRentEarningsRepo } from "./socialRentEarningsRepo"; // Adjust the
import prisma from "./db"; // Your Prisma setup file

jest.mock("./db", () => ({
socialRent: {
socialRentEarnings: {
aggregate: jest.fn(), // Mock the aggregate method
},
}));
Expand Down

0 comments on commit 0807c90

Please sign in to comment.