chore: ⚰️ Remove dead code and unused imports

This commit is contained in:
Jesse Wierzbinski 2024-05-28 15:14:24 -10:00
parent 3a37790315
commit f87bcbd0da
No known key found for this signature in database
37 changed files with 37 additions and 86 deletions

View file

@ -295,7 +295,7 @@ describe("LocalMediaBackend", () => {
// deleteByUrl
const mockHash = "test-hash";
spyOn(mockMediaHasher, "getMediaHash").mockResolvedValue(mockHash);
const result = await localMediaBackend.addFile(mockFile);
await localMediaBackend.addFile(mockFile);
const rmMock = jest.fn().mockResolvedValue(Promise.resolve());
// Spy on fs/promises rm