Files
bch-dex/test/unit/mocks/helia-mock.js
T

14 lines
210 B
JavaScript
Raw Normal View History

2023-10-22 17:35:10 -07:00
/*
Mocking library for helia.
This is used to replace the helia library when running unit tests.
*/
const ipfs = {
libp2p: {
getMultiaddrs: () => [],
peerId: 'fake-id'
}
}
export default ipfs