Skip to content

Commit a446b52

Browse files
committed
chore: more linting
1 parent b8eeac6 commit a446b52

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

packages/interop/test/index.spec.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { createDelegatedRoutingV1HttpApiClient } from '@helia/delegated-routing-
44
import { createDelegatedRoutingV1HttpApiServer } from '@helia/delegated-routing-v1-http-api-server'
55
import { ipns } from '@helia/ipns'
66
import { generateKeyPair } from '@libp2p/crypto/keys'
7+
import { start, stop } from '@libp2p/interface'
78
import { expect } from 'aegir/chai'
89
import { createIPNSRecord } from 'ipns'
910
import 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()

0 commit comments

Comments
 (0)