Skip to content

Commit dec7291

Browse files
committed
test(coap-server): don't shutdown servient unnecessarily
1 parent 5dc47c4 commit dec7291

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

packages/binding-coap/test/coap-server-test.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -598,14 +598,13 @@ class CoapServerTest {
598598
});
599599

600600
await coapServer.stop();
601-
await servient.shutdown();
602601
}
603602

604603
@test async "should reject unsupported methods for meta operations"() {
605604
const coapServer = new CoapServer();
606605
const servient = new Servient();
607606

608-
await coapServer.start(servient);
607+
await coapServer.start(new Servient());
609608

610609
const testThingWithoutForms = new ExposedThing(servient, {
611610
title: "Test",
@@ -634,6 +633,5 @@ class CoapServerTest {
634633
});
635634

636635
await coapServer.stop();
637-
await servient.shutdown();
638636
}
639637
}

0 commit comments

Comments
 (0)