File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/bolt-connection/test/bolt Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ describe('#unit Bolt', () => {
115115 channel . onmessage ( packedHandshakeMessage ( httpMagicNumber ) )
116116 } )
117117
118- it ( 'should log error if the server responds with http server ' , async ( ) => {
118+ it ( 'should log error if the server responds with http payload ' , async ( ) => {
119119 const { channel, handshakePromise, log } = subject ( )
120120 const httpMagicNumber = 1213486160
121121 const logErrorSpy = jest . spyOn ( log , 'error' )
@@ -126,7 +126,7 @@ describe('#unit Bolt', () => {
126126 expect ( logErrorSpy ) . toHaveBeenCalledWith ( 'Handshake failed since server responded with HTTP.' )
127127 } )
128128
129- it ( 'should not log error if the server responds valid protocol version' , async ( ) => {
129+ it ( 'should not log error if the server responds with a valid protocol version' , async ( ) => {
130130 const { channel, handshakePromise, log } = subject ( )
131131 const expectedProtocolVersion = 4.3
132132 const logErrorSpy = jest . spyOn ( log , 'error' )
You can’t perform that action at this time.
0 commit comments