feat(ipfs): Allowing disabling IPFS features with config flag

This commit is contained in:
Chris Troutner
2023-04-10 09:19:51 -07:00
parent b6dcb9c177
commit 349d070273
4 changed files with 14 additions and 14 deletions
@@ -27,6 +27,8 @@ describe('#adapters', () => {
it('should start the async adapters', async () => {
// Mock dependencies
uut.config.getJwtAtStartup = true
uut.config.useIpfs = true
uut.config.env = 'not-a-test'
sandbox.stub(uut.fullStackJwt, 'getJWT').resolves()
sandbox.stub(uut.fullStackJwt, 'instanceBchjs').resolves()
sandbox.stub(uut.ipfs, 'start').resolves()