Skip to content

Commit

Permalink
style: describe phases
Browse files Browse the repository at this point in the history
  • Loading branch information
enisdenjo committed Sep 16, 2020
1 parent 1c4350c commit edc1d38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tests/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ it('should report server errors to clients by closing the connection', async ()
await wait(10);
});

describe('onConnect', () => {
describe('Connect', () => {
it('should refuse connection and close socket if returning `false`', async () => {
expect.assertions(3);

Expand Down Expand Up @@ -751,7 +751,7 @@ describe('Subscribe', () => {
});
});

describe('keepAlive', () => {
describe('Keep-Alive', () => {
it('should dispatch pings after the timeout has passed', async () => {
await makeServer({
keepAlive: 50,
Expand Down

0 comments on commit edc1d38

Please sign in to comment.