Skip to content

Commit 89e4d0f

Browse files
bigmontzfbiville
andcommitted
Apply suggestions from code review
Co-authored-by: Florent Biville <[email protected]>
1 parent f09d035 commit 89e4d0f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/bolt-connection/test/bolt/index.test.js

+2-2
Original file line numberDiff line numberDiff 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')

0 commit comments

Comments
 (0)