@@ -12,10 +12,10 @@ import sinon, { type SinonStub } from 'sinon'
1212import { stubInterface } from 'sinon-ts'
1313import { VerifiedFetch } from '../src/verified-fetch.js'
1414import type { PathWalkerFn } from '../src/utils/walk-path'
15- import type { Helia } from '@helia/interface'
15+ import type { Blocks , Helia } from '@helia/interface'
1616import type { Logger , ComponentLogger } from '@libp2p/interface'
17- import type { Blockstore } from 'interface-blockstore'
1817import type { UnixFSDirectory , UnixFSEntry } from 'ipfs-unixfs-exporter'
18+
1919const testCID = CID . parse ( 'QmQJ8fxavY54CUsxMSx9aE9Rdcmvhx8awJK2jzJp4iAqCr' )
2020const anyOnProgressMatcher = sinon . match . any as unknown as ( ) => void
2121
@@ -102,10 +102,10 @@ describe('@helia/verifed-fetch', () => {
102102 let jsonStub : ReturnType < typeof stubInterface < HeliaJSON > >
103103 let dagCborStub : ReturnType < typeof stubInterface < DAGCBOR > >
104104 let pathWalkerStub : SinonStub < Parameters < PathWalkerFn > , ReturnType < PathWalkerFn > >
105- let blockstoreStub : ReturnType < typeof stubInterface < Blockstore > >
105+ let blockstoreStub : ReturnType < typeof stubInterface < Blocks > >
106106
107107 beforeEach ( async ( ) => {
108- blockstoreStub = stubInterface < Blockstore > ( )
108+ blockstoreStub = stubInterface < Blocks > ( )
109109 unixfsStub = stubInterface < UnixFS > ( {
110110 cat : sinon . stub ( ) ,
111111 stat : sinon . stub ( )
0 commit comments