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-
4
4
import { createDelegatedRoutingV1HttpApiServer } from '@helia/delegated-routing-v1-http-api-server'
5
5
import { ipns } from '@helia/ipns'
6
6
import { generateKeyPair } from '@libp2p/crypto/keys'
7
+ import { start , stop } from '@libp2p/interface'
7
8
import { expect } from 'aegir/chai'
8
9
import { createIPNSRecord } from 'ipns'
9
10
import first from 'it-first'
@@ -43,12 +44,12 @@ describe('delegated-routing-v1-http-api interop', () => {
43
44
await node . libp2p . dial ( remote . libp2p . getMultiaddrs ( ) )
44
45
}
45
46
}
47
+
48
+ await start ( client )
46
49
} )
47
50
48
51
afterEach ( async ( ) => {
49
- if ( client != null ) {
50
- client . stop ( )
51
- }
52
+ await stop ( client )
52
53
53
54
if ( server != null ) {
54
55
await server . close ( )
You can’t perform that action at this time.
0 commit comments