Merge pull request #95 from Permissionless-Software-Foundation/ct-unstable

fix(mocks): Another update to IPFS test mocks
This commit is contained in:
Chris Troutner
2022-07-24 08:15:55 -07:00
committed by GitHub
+6 -1
View File
@@ -4,7 +4,11 @@
class IpfsAdapter {
constructor () {
this.ipfs = {}
this.ipfs = {
files: {
stat: () => {}
}
}
}
}
@@ -24,6 +28,7 @@ const ipfs = {
ipfsAdapter: new IpfsAdapter(),
ipfsCoordAdapter: new IpfsCoordAdapter()
}
ipfs.ipfs = ipfs.ipfsAdapter.ipfs
const localdb = {
Users: class Users {