We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 388a07e commit a27587bCopy full SHA for a27587b
1 file changed
packages/core/test/server-test.ts
@@ -971,9 +971,7 @@ class WoTServerTest {
971
thing.setEventSubscribeHandler("test", handler);
972
await (<ExposedThing>thing).handleSubscribeEvent("test", callback, { formIndex: 0 });
973
(<ExposedThing>thing).emitEvent("test", null);
974
- (<ExposedThing>thing).handleUnsubscribeEvent("test", callback, { formIndex: 0 }).catch((error) => {
975
- throw error;
976
- });
+ (<ExposedThing>thing).handleUnsubscribeEvent("test", callback, { formIndex: 0 });
977
978
979
return expect(callback).to.have.been.called.once;
0 commit comments