Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

chore(package): update aegir to version 19.0.3 #485

Merged
merged 2 commits into from
May 31, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .aegir.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = {
lint: {
files: [
'src/**/*.js',
'test/**/*.js'
'test/*.js'
]
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"through2": "^3.0.0"
},
"devDependencies": {
"aegir": "^18.1.1"
"aegir": "^19.0.3"
},
"contributors": [
"Alan Shaw <[email protected]>",
Expand Down
2 changes: 0 additions & 2 deletions src/block/put.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,5 @@ module.exports = (createCommon, options) => {
done()
})
})

// TODO it.skip('Promises support', (done) => {})
})
}
2 changes: 0 additions & 2 deletions src/block/stat.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,5 @@ module.exports = (createCommon, options) => {
done()
})
})

// TODO it.skip('Promises support', (done) => {})
})
}
2 changes: 0 additions & 2 deletions src/dag/put.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,5 @@ module.exports = (createCommon, options) => {
})

it.skip('should put by passing the cid instead of format and hashAlg', (done) => {})

// TODO it.skip('Promises support', (done) => {})
})
}
9 changes: 8 additions & 1 deletion src/files-regular/refs-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,14 @@ function loadContent (ipfs, store, node, callback) {

if (typeof node === 'object') {
const entries = Object.entries(node)
const sorted = entries.sort((a, b) => a[0] > b[0] ? 1 : a[0] < b[0] ? -1 : 0)
const sorted = entries.sort((a, b) => {
if (a[0] > b[0]) {
return 1
} else if (a[0] < b[0]) {
return -1
}
return 0
})
mapSeries(sorted, ([name, child], cb) => {
loadContent(ipfs, store, child, (err, cid) => {
cb(err, { name, cid: cid && cid.toString() })
Expand Down
1 change: 1 addition & 0 deletions src/pubsub/subscribe.js
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,7 @@ module.exports = (createCommon, options) => {
const duration = new Date().getTime() - startTime
const opsPerSec = Math.floor(count / (duration / 1000))

// eslint-disable-next-line
console.log(`Send/Receive 100 messages took: ${duration} ms, ${opsPerSec} ops / s`)

check()
Expand Down