mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
chore: ⚰️ Remove dead code and unused imports
This commit is contained in:
parent
3a37790315
commit
f87bcbd0da
37 changed files with 37 additions and 86 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue