-
Notifications
You must be signed in to change notification settings - Fork 37
Conversation
Removed running tests on a pre-commit as it prevents checking in incremental changes to a branch
package.json
Outdated
"test:browser": "aegir test --target browser", | ||
"test": "aegir test --timeout 10000", | ||
"test:node": "aegir test --target node --timeout 10000", | ||
"test:browser": "aegir test --target browser --timeout 10000", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please avoid using global timeouts. Try first here updating to latest Aegir and then seeing if you still need the timeouts.
@diasdavid build is failing with new latest aegir and no timeout specified. Shall I revert, or do u have another idea. |
package.json
Outdated
"ipfs-block": "~0.6.0", | ||
"ipfs-block-service": "~0.12.0", | ||
"ipfs-repo": "~0.17.0", | ||
"ipfs-repo": "^0.18.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We avoid using ^ for deps that are < 1.0.0. Keep ~
package.json
Outdated
@@ -46,10 +46,10 @@ | |||
"dependencies": { | |||
"async": "^2.5.0", | |||
"cids": "~0.5.2", | |||
"interface-datastore": "^0.3.1", | |||
"interface-datastore": "^0.4.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems we missed this one
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and it should use ~
@richardschneider you can increase the timeout of that specific batch of tests. I just meant to avoid global timeouts, it is important that we know which tests are really slow. |
src/index.js
Outdated
@@ -215,9 +220,7 @@ class IPLDResolver { | |||
if (!r) { | |||
return callback(new Error('No resolver found for codec "' + options.format + '"')) | |||
} | |||
// TODO add support for different hash funcs in the utils of | |||
// each format (just really needed for CBOR for now, really | |||
// r.util.cid(node1, hashAlg, (err, cid) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please bring back this TODO comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
@diasdavid ready for review |
Get running on windows.