async function loadBlockFixtures ({ ipfs, blockCid, blockPutArgs = { format: 'v0' } }) {
  try {
    if (Array.isArray(blockCid)) {
      return await Promise.all(blockCid.map(cid => loadBlockFixtures({ ipfs, blockCid: cid, blockPutArgs })))
    }
    // read the data from the file
    const data = await readFile(join(__dirname, '/fixtures/explore/blocks', blockCid), { encoding: '' })
    // add the data to the ipfs node
    const result = await ipfs.block.put(data, blockPutArgs)
    // check that the CID returned from block.put matches the given block fixture CID
    expect(result.toString()).toBe(blockCid)
  } catch (e) {
    console.error(e)
  }
}
Loads saved block fixtures from fixtures/explore/blocks and adds them locally to the ipfs node
@param {object} param0
@param {import('kubo-rpc-client').KuboRPCClient} param0.ipfs
@param {string|string[]} param0.blockCid
@param {object} [param0.blockPutArgs]