How to use the orbit-db-test-utils.stopIpfs function in orbit-db-test-utils

To help you get started, we’ve selected a few orbit-db-test-utils examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github orbitdb / orbit-db-store / test / snapshot.spec.js View on Github external
after(async () => {
      await store.close()
      await stopIpfs(ipfs)
      await identityStore.close()
      await cacheStore.close()
    })
github orbitdb / orbit-db-store / test / constructor.spec.js View on Github external
after(async () => {
      await store.close()
      await storeWithCache.close()
      await stopIpfs(ipfs)
      await identityStore.close()
      await cacheStore.close()
    })
github orbitdb / ipfs-log / test / log.spec.js View on Github external
after(async () => {
      await stopIpfs(ipfs)
      rmrf.sync(signingKeysPath)
      rmrf.sync(identityKeysPath)
      rmrf.sync(ipfsConfig.repo)

      await keystore.close()
      await signingKeystore.close()
    })
github orbitdb / ipfs-log / test / log-join.spec.js View on Github external
after(async () => {
      await stopIpfs(ipfs)
      rmrf.sync(ipfsConfig.repo)
      rmrf.sync(identityKeysPath)
      rmrf.sync(signingKeysPath)

      await keystore.close()
      await signingKeystore.close()
    })
github orbitdb / ipfs-log / test / signed-log.spec.js View on Github external
after(async () => {
      await stopIpfs(ipfs)
      rmrf.sync(ipfsConfig.repo)
      rmrf.sync(identityKeysPath)
      rmrf.sync(signingKeysPath)
      await keystore.close()
      await signingKeystore.close()
    })
github orbitdb / ipfs-log / test / log-load.spec.js View on Github external
after(async () => {
      await stopIpfs(ipfs)
      rmrf.sync(ipfsConfig.repo)
      rmrf.sync(identityKeysPath)
      rmrf.sync(signingKeysPath)

      await keystore.close()
      await signingKeystore.close()
    })
github orbitdb / ipfs-log / test / replicate.spec.js View on Github external
after(async () => {
      await stopIpfs(ipfs1)
      await stopIpfs(ipfs2)
      rmrf.sync(ipfsConfig1.repo)
      rmrf.sync(ipfsConfig2.repo)
      rmrf.sync(identityKeysPath)
      rmrf.sync(signingKeysPath)

      await keystore.close()
      await signingKeystore.close()
    })
github orbitdb / ipfs-log / test / replicate.spec.js View on Github external
after(async () => {
      await stopIpfs(ipfs1)
      await stopIpfs(ipfs2)
      rmrf.sync(ipfsConfig1.repo)
      rmrf.sync(ipfsConfig2.repo)
      rmrf.sync(identityKeysPath)
      rmrf.sync(signingKeysPath)

      await keystore.close()
      await signingKeystore.close()
    })
github orbitdb / ipfs-log / test / log-heads-tails.spec.js View on Github external
after(async () => {
      await stopIpfs(ipfs)
      rmrf.sync(ipfsConfig.repo)
      rmrf.sync(identityKeysPath)
      rmrf.sync(signingKeysPath)

      await keystore.close()
      await signingKeystore.close()
    })
github orbitdb / ipfs-log / test / log-append.spec.js View on Github external
after(async () => {
      await stopIpfs(ipfs)
      rmrf.sync(ipfsConfig.repo)
      rmrf.sync(identityKeysPath)
      rmrf.sync(signingKeysPath)

      await keystore.close()
      await signingKeystore.close()
    })