Skip to content

Commit b7552af

Browse files
committed
chore: address review
1 parent 5fc188b commit b7552af

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@
9090
"varint-decoder": "^0.4.0"
9191
},
9292
"pre-push": [
93-
"lint"
93+
"lint",
94+
"test"
9495
],
9596
"contributors": [
9697
"David Dias <[email protected]>",

test/network/gen-bitswap-network.node.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ async function exchangeBlocks (nodes, blocksPerNode = 10) {
7979
const d = Date.now()
8080

8181
// fetch all blocks on every node
82-
await Promise.all(nodes.map(async (node, index) => {
82+
await Promise.all(nodes.map(async (node) => {
8383
const bs = await Promise.all(cids.map((cid) => node.bitswap.get(cid)))
8484
expect(bs).to.deep.equal(blocks)
8585
}))

0 commit comments

Comments
 (0)