dozyio / helia-encrypt-example

0 stars 1 forks source link

feat: test using the interface blockstore tests #1

Open SgtPooki opened 1 month ago

SgtPooki commented 1 month ago

in most blockstores in /ipfs/js-stores we run common tests on each blockstore implementation:

import { interfaceBlockstoreTests } from 'interface-blockstore-tests'

https://github.com/ipfs/js-stores/blob/06b7f79557e1cfbf0fdc444f6f65b1ebc9b0cd7c/packages/blockstore-fs/test/index.spec.ts#L87-L104

Have you tried this with your blockstore impl?

SgtPooki commented 1 month ago

Apologies, I meant to open this in https://github.com/dozyio/js-blockstore-encrypt

dozyio commented 1 month ago

Thanks again @SgtPooki - Will add those tests