import React from 'react' import { render, screen } from '@testing-library/react' import useIpfs from '../src/hooks/use-ipfs-api' export default function TestComponent() { const { version, isIpfsReady, ipfsError } = useIpfs() return (