File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/bolt-connection/test/bolt Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -48,13 +48,13 @@ describe('#unit Bolt', () => {
48
48
const writtenBuffer = channel . written [ 0 ]
49
49
50
50
const boltMagicPreamble = '60 60 b0 17'
51
+ const handshakev2 = '00 00 01 ff'
51
52
const protocolVersion5x7to5x0 = '00 07 07 05'
52
- const protocolVersion4x4to4x2 = '00 02 04 04'
53
- const protocolVersion4x1 = '00 00 01 04'
53
+ const protocolVersion4x4to4x0 = '00 04 04 04'
54
54
const protocolVersion3 = '00 00 00 03'
55
55
56
56
expect ( writtenBuffer . toHex ( ) ) . toEqual (
57
- `${ boltMagicPreamble } ${ protocolVersion5x7to5x0 } ${ protocolVersion4x4to4x2 } ${ protocolVersion4x1 } ${ protocolVersion3 } `
57
+ `${ boltMagicPreamble } ${ handshakev2 } ${ protocolVersion5x7to5x0 } ${ protocolVersion4x4to4x0 } ${ protocolVersion3 } `
58
58
)
59
59
} )
60
60
You can’t perform that action at this time.
0 commit comments