fix(ipfs-coord): Increased unit test coverage to 100%

This commit is contained in:
Chris Troutner
2022-06-20 07:01:43 -07:00
parent 62a7fcb16d
commit d0efdcfa07
2 changed files with 21 additions and 10 deletions
@@ -112,4 +112,20 @@ describe('#IPFS', () => {
}
})
})
describe('#subscribeToChat', () => {
it('should subscribe to the chat channel', async () => {
// Mock dependencies
uut.ipfsCoord = {
adapters: {
pubsub: {
subscribeToPubsubChannel: async () => {
}
}
}
}
await uut.subscribeToChat()
})
})
})