nucypher-experimental-taco-storage
Version:
TypeScript SDK for encrypted data storage with TACo (Threshold Access Control), supporting multiple storage providers including IPFS and SQLite
7 lines • 323 B
JavaScript
// Mock for @helia/unixfs module
import { CID } from '../multiformats/cid';
export const unixfs = jest.fn().mockReturnValue({
addBytes: jest.fn().mockResolvedValue(new CID(0x55, new Uint8Array([1, 2, 3]), 1)),
cat: jest.fn().mockResolvedValue(new Uint8Array([1, 2, 3, 4, 5])),
});
//# sourceMappingURL=unixfs.js.map