Jest (broken)

This commit is contained in:
2020-08-19 15:31:02 +02:00
parent 4c18ed646b
commit 4715fc1814
85 changed files with 5889 additions and 11876 deletions

View 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");
});