From dec729133def7dfc4e376863b8e5a0c9646ac37f Mon Sep 17 00:00:00 2001 From: Jan Romann Date: Tue, 9 Jan 2024 08:42:23 +0100 Subject: [PATCH] test(coap-server): don't shutdown servient unnecessarily --- packages/binding-coap/test/coap-server-test.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/binding-coap/test/coap-server-test.ts b/packages/binding-coap/test/coap-server-test.ts index cd791d22b..55c9f5e50 100644 --- a/packages/binding-coap/test/coap-server-test.ts +++ b/packages/binding-coap/test/coap-server-test.ts @@ -598,14 +598,13 @@ class CoapServerTest { }); await coapServer.stop(); - await servient.shutdown(); } @test async "should reject unsupported methods for meta operations"() { const coapServer = new CoapServer(); const servient = new Servient(); - await coapServer.start(servient); + await coapServer.start(new Servient()); const testThingWithoutForms = new ExposedThing(servient, { title: "Test", @@ -634,6 +633,5 @@ class CoapServerTest { }); await coapServer.stop(); - await servient.shutdown(); } }