Skip to content

Commit

Permalink
chore: ignore unbound methods
Browse files Browse the repository at this point in the history
  • Loading branch information
RishikeshNK committed Nov 22, 2024
1 parent c1789a0 commit efc3a25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/api/tests/review.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/unbound-method */
import { beforeEach, describe, expect, test, vi } from "vitest";

import type { Session } from "@cooper/auth";
Expand Down Expand Up @@ -27,7 +28,6 @@ vi.mock("@cooper/auth", () => ({
describe("Review Router", async () => {
beforeEach(() => {
vi.restoreAllMocks();
// eslint-disable-next-line @typescript-eslint/unbound-method
vi.mocked(db.query.Review.findMany).mockResolvedValue(data as ReviewType[]);
});

Expand Down

0 comments on commit efc3a25

Please sign in to comment.