Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
after(async () => {
await store.close()
await stopIpfs(ipfs)
await identityStore.close()
await cacheStore.close()
})
after(async () => {
await store.close()
await storeWithCache.close()
await stopIpfs(ipfs)
await identityStore.close()
await cacheStore.close()
})
after(async () => {
await stopIpfs(ipfs)
rmrf.sync(signingKeysPath)
rmrf.sync(identityKeysPath)
rmrf.sync(ipfsConfig.repo)
await keystore.close()
await signingKeystore.close()
})
after(async () => {
await stopIpfs(ipfs)
rmrf.sync(ipfsConfig.repo)
rmrf.sync(identityKeysPath)
rmrf.sync(signingKeysPath)
await keystore.close()
await signingKeystore.close()
})
after(async () => {
await stopIpfs(ipfs)
rmrf.sync(ipfsConfig.repo)
rmrf.sync(identityKeysPath)
rmrf.sync(signingKeysPath)
await keystore.close()
await signingKeystore.close()
})
after(async () => {
await stopIpfs(ipfs)
rmrf.sync(ipfsConfig.repo)
rmrf.sync(identityKeysPath)
rmrf.sync(signingKeysPath)
await keystore.close()
await signingKeystore.close()
})
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()
})
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()
})
after(async () => {
await stopIpfs(ipfs)
rmrf.sync(ipfsConfig.repo)
rmrf.sync(identityKeysPath)
rmrf.sync(signingKeysPath)
await keystore.close()
await signingKeystore.close()
})
after(async () => {
await stopIpfs(ipfs)
rmrf.sync(ipfsConfig.repo)
rmrf.sync(identityKeysPath)
rmrf.sync(signingKeysPath)
await keystore.close()
await signingKeystore.close()
})