This repository was archived by the owner on Mar 10, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ module.exports = (createCommon, options) => {
127
127
const node = result . value
128
128
129
129
dagPB . util . cid ( dagPB . util . serialize ( node ) )
130
- . then ( ( cid ) => expect ( cid ) . to . eql ( cidPb ) )
130
+ . then ( cid => { expect ( cid ) . to . eql ( cidPb ) } )
131
131
. then ( done )
132
132
. catch ( done )
133
133
} )
@@ -151,7 +151,7 @@ module.exports = (createCommon, options) => {
151
151
const node = result . value
152
152
153
153
dagCBOR . util . cid ( dagCBOR . util . serialize ( node ) )
154
- . then ( cid => expect ( cid ) . to . eql ( cidCbor ) )
154
+ . then ( cid => { expect ( cid ) . to . eql ( cidCbor ) } )
155
155
. then ( done )
156
156
. catch ( done )
157
157
} )
@@ -186,7 +186,7 @@ module.exports = (createCommon, options) => {
186
186
const node = result . value
187
187
188
188
dagCBOR . util . cid ( dagCBOR . util . serialize ( node ) )
189
- . then ( cid => expect ( cid ) . to . eql ( cidCbor ) )
189
+ . then ( cid => { expect ( cid ) . to . eql ( cidCbor ) } )
190
190
. then ( done )
191
191
. catch ( done )
192
192
} )
Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ module.exports = (createCommon, options) => {
84
84
expect ( cid ) . to . exist ( )
85
85
expect ( CID . isCID ( cid ) ) . to . equal ( true )
86
86
dagCBOR . util . cid ( dagCBOR . util . serialize ( cborNode ) )
87
- . then ( _cid => expect ( cid . buffer ) . to . eql ( _cid . buffer ) )
87
+ . then ( _cid => { expect ( cid . buffer ) . to . eql ( _cid . buffer ) } )
88
88
. then ( done )
89
89
. catch ( done )
90
90
} )
You can’t perform that action at this time.
0 commit comments