Refactoring day1

This commit is contained in:
2020-08-20 20:27:14 +02:00
parent 6aceefeb2f
commit b907489a75
481 changed files with 5321 additions and 5616 deletions

View File

@@ -1,10 +1,11 @@
import { removePrefix } from "./azureServices.js";
import azureBlob from "@azure/storage-blob";
jest.mock("@azure/storage-blob", () => {
return jest.fn().mockImplementation(() => {
return { StorageSharedKeyCredential: jest.fn() };
});
return {
StorageSharedKeyCredential: jest.fn(),
newPipeline: jest.fn(),
BlobServiceClient: jest.fn(),
};
});
test("should remove TEMP_ prefix", () => {