fix tests, mock multiformats

This commit is contained in:
Samuel Newman
2025-04-28 13:41:52 +03:00
parent ab1afe1133
commit 74fc634090
4 changed files with 13 additions and 3 deletions
+3
View File
@@ -0,0 +1,3 @@
export const CID = jest.fn().mockImplementation(() => {
return {}
})
+7
View File
@@ -0,0 +1,7 @@
export const from = jest.fn().mockImplementation(() => {
return {
digest: jest.fn().mockImplementation(() => {
return Promise.resolve('')
}),
}
})