File tree 1 file changed +3
-3
lines changed 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -471,7 +471,7 @@ describe('WebSocketServer', () => {
471
471
} ) ;
472
472
} ) ;
473
473
474
- it ( 'fails is the Sec-WebSocket-Version header is invalid (1/2)' , ( done ) => {
474
+ it ( 'fails if the Sec-WebSocket-Version header is invalid (1/2)' , ( done ) => {
475
475
const wss = new WebSocket . Server ( { port : 0 } , ( ) => {
476
476
const req = http . get ( {
477
477
port : wss . address ( ) . port ,
@@ -493,7 +493,7 @@ describe('WebSocketServer', () => {
493
493
} ) ;
494
494
} ) ;
495
495
496
- it ( 'fails is the Sec-WebSocket-Version header is invalid (2/2)' , ( done ) => {
496
+ it ( 'fails if the Sec-WebSocket-Version header is invalid (2/2)' , ( done ) => {
497
497
const wss = new WebSocket . Server ( { port : 0 } , ( ) => {
498
498
const req = http . get ( {
499
499
port : wss . address ( ) . port ,
@@ -516,7 +516,7 @@ describe('WebSocketServer', () => {
516
516
} ) ;
517
517
} ) ;
518
518
519
- it ( 'fails is the Sec-WebSocket-Extensions header is invalid' , ( done ) => {
519
+ it ( 'fails if the Sec-WebSocket-Extensions header is invalid' , ( done ) => {
520
520
const wss = new WebSocket . Server (
521
521
{
522
522
perMessageDeflate : true ,
You can’t perform that action at this time.
0 commit comments