File tree 1 file changed +2
-2
lines changed
packages/bolt-connection/test/bolt
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ describe('#unit Bolt', () => {
115
115
channel . onmessage ( packedHandshakeMessage ( httpMagicNumber ) )
116
116
} )
117
117
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 ( ) => {
119
119
const { channel, handshakePromise, log } = subject ( )
120
120
const httpMagicNumber = 1213486160
121
121
const logErrorSpy = jest . spyOn ( log , 'error' )
@@ -126,7 +126,7 @@ describe('#unit Bolt', () => {
126
126
expect ( logErrorSpy ) . toHaveBeenCalledWith ( 'Handshake failed since server responded with HTTP.' )
127
127
} )
128
128
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 ( ) => {
130
130
const { channel, handshakePromise, log } = subject ( )
131
131
const expectedProtocolVersion = 4.3
132
132
const logErrorSpy = jest . spyOn ( log , 'error' )
You can’t perform that action at this time.
0 commit comments