File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import { createDelegatedRoutingV1HttpApiClient } from '@helia/delegated-routing-
44import { createDelegatedRoutingV1HttpApiServer } from '@helia/delegated-routing-v1-http-api-server'
55import { ipns } from '@helia/ipns'
66import { generateKeyPair } from '@libp2p/crypto/keys'
7+ import { start , stop } from '@libp2p/interface'
78import { expect } from 'aegir/chai'
89import { createIPNSRecord } from 'ipns'
910import first from 'it-first'
@@ -43,12 +44,12 @@ describe('delegated-routing-v1-http-api interop', () => {
4344 await node . libp2p . dial ( remote . libp2p . getMultiaddrs ( ) )
4445 }
4546 }
47+
48+ await start ( client )
4649 } )
4750
4851 afterEach ( async ( ) => {
49- if ( client != null ) {
50- client . stop ( )
51- }
52+ await stop ( client )
5253
5354 if ( server != null ) {
5455 await server . close ( )
You can’t perform that action at this time.
0 commit comments