Skip to content

Commit

Permalink
test: ensure complete callback on slow subscribes
Browse files Browse the repository at this point in the history
  • Loading branch information
enisdenjo committed Mar 25, 2021
1 parent 45d3f8c commit ea86bd3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tests/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1512,6 +1512,8 @@ describe('Subscribe', () => {
await client.waitForMessage(() => {
fail("Shouldn't have received a message");
}, 30);

await server.waitForComplete();
});
});

Expand Down

0 comments on commit ea86bd3

Please sign in to comment.