Skip to content

Commit 56a3beb

Browse files
committed
fix: revert previous change
1 parent bfddcab commit 56a3beb

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

examples/js-libp2p-example-delegated-routing/test/index.spec.js

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -61,17 +61,8 @@ test.describe('delegated routing example:', () => {
6161
}, {})
6262

6363
test.afterAll(async () => {
64-
try {
65-
await fastify?.close()
66-
} catch (err) {
67-
console.error('error stopping fastify', err)
68-
}
69-
70-
try {
71-
await helia?.stop()
72-
} catch (err) {
73-
console.error('error stopping helia', err)
74-
}
64+
await fastify?.close()
65+
await helia?.stop()
7566
})
7667

7768
test.beforeEach(async ({ page }) => {

0 commit comments

Comments
 (0)