File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -471,7 +471,7 @@ describe('WebSocketServer', () => {
471471 } ) ;
472472 } ) ;
473473
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 ) => {
475475 const wss = new WebSocket . Server ( { port : 0 } , ( ) => {
476476 const req = http . get ( {
477477 port : wss . address ( ) . port ,
@@ -493,7 +493,7 @@ describe('WebSocketServer', () => {
493493 } ) ;
494494 } ) ;
495495
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 ) => {
497497 const wss = new WebSocket . Server ( { port : 0 } , ( ) => {
498498 const req = http . get ( {
499499 port : wss . address ( ) . port ,
@@ -516,7 +516,7 @@ describe('WebSocketServer', () => {
516516 } ) ;
517517 } ) ;
518518
519- it ( 'fails is the Sec-WebSocket-Extensions header is invalid' , ( done ) => {
519+ it ( 'fails if the Sec-WebSocket-Extensions header is invalid' , ( done ) => {
520520 const wss = new WebSocket . Server (
521521 {
522522 perMessageDeflate : true ,
You can’t perform that action at this time.
0 commit comments