We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf816cc commit 99a0346Copy full SHA for 99a0346
test/infrastructure/Listener.spec.ts
@@ -23,4 +23,12 @@ describe('Listener', () => {
23
expect('ws://localhost:3000/ws').to.be.equal(listener.url);
24
listener.close();
25
});
26
+
27
+ describe('isOpen', () => {
28
+ it('should return false when listener is created and not opened', () => {
29
+ const listener = new Listener('ws://localhost:3000');
30
+ expect(listener.isOpen()).to.be.false;
31
+ listener.close();
32
+ });
33
34
0 commit comments