From f11ab569856074f7564ce1773da7ac518c01701d Mon Sep 17 00:00:00 2001 From: Mario Du Date: Wed, 12 Dec 2018 18:43:20 +0800 Subject: [PATCH] fix: fix hub test --- packages/hub/test/hub/Hub.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/hub/test/hub/Hub.test.ts b/packages/hub/test/hub/Hub.test.ts index 34af9018..2df3b8fe 100644 --- a/packages/hub/test/hub/Hub.test.ts +++ b/packages/hub/test/hub/Hub.test.ts @@ -34,7 +34,7 @@ describe('Hub', function () { const hub = new Hub(); await hub.start(); await new Promise(resolve => ( hub).messengerServer.close(resolve)); - await expect(hub.stop()).to.be.rejectedWith('Not running'); + await expect(hub.stop()).to.be.rejectedWith('not running'); }); });