We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3d0430 commit bfddcabCopy full SHA for bfddcab
examples/js-libp2p-example-delegated-routing/test/index.spec.js
@@ -61,8 +61,17 @@ test.describe('delegated routing example:', () => {
61
}, {})
62
63
test.afterAll(async () => {
64
- await fastify.close()
65
- await helia.stop()
+ try {
+ await fastify?.close()
66
+ } catch (err) {
67
+ console.error('error stopping fastify', err)
68
+ }
69
+
70
71
+ await helia?.stop()
72
73
+ console.error('error stopping helia', err)
74
75
})
76
77
test.beforeEach(async ({ page }) => {
0 commit comments