Skip to content

Commit e2ec074

Browse files
committed
fix minor issues
1 parent a51fb63 commit e2ec074

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

tests/imageUtils.test.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import { uploadImage, deleteImage } from "../src/utils/imageUtils";
22
import { SupabaseClient, PostgrestError } from "@supabase/supabase-js";
33
import { ApiError } from "../src/utils/apiError";
44
import { v4 as uuidv4 } from "uuid";
5-
import { error } from "console";
65

76
jest.mock("uuid");
87
const mockedUuid = uuidv4 as jest.Mock;
@@ -21,8 +20,7 @@ describe("imageUtils", () => {
2120
storageMock = {
2221
from: jest.fn().mockReturnThis(),
2322
upload: jest.fn(),
24-
getPublicUrl: jest.fn(),
25-
deleteImage: jest.fn(),
23+
getPublicUrl: jest.fn(),
2624
remove: jest.fn(),
2725
};
2826

0 commit comments

Comments
 (0)