From 50f7f32e538c221a66c769d39797b94d4e73b5b2 Mon Sep 17 00:00:00 2001 From: Vasco Santos Date: Fri, 16 Apr 2021 22:45:34 +0200 Subject: [PATCH] chore: update branch --- test/configuration/pubsub.spec.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/configuration/pubsub.spec.js b/test/configuration/pubsub.spec.js index 6f2393d6..46e6c8fb 100644 --- a/test/configuration/pubsub.spec.js +++ b/test/configuration/pubsub.spec.js @@ -97,6 +97,10 @@ describe('Pubsub subscription handlers adapter', () => { await libp2p.start() }) + afterEach(async () => { + libp2p && await libp2p.stop() + }) + it('extends pubsub with subscribe handler', async () => { let countMessages = 0 const topic = 'topic'