Jest (broken)
This commit is contained in:
8
services/azureServices.test.js
Normal file
8
services/azureServices.test.js
Normal file
@@ -0,0 +1,8 @@
|
||||
import { removePrefix } from "./azureServices.js";
|
||||
import { JsonWebTokenError } from "jsonwebtoken";
|
||||
import azureBlob from "@azure/storage-blob";
|
||||
jest.mock("@azure/storage-blob");
|
||||
|
||||
test("should remove TEMP_ prefix", () => {
|
||||
expect(removePrefix("TEMP_abcdef")).toBe("abcdef");
|
||||
});
|
||||
Reference in New Issue
Block a user