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

Commit 9896330

Browse files
committed
fix: fix tests and update deps
1 parent 8c68e5f commit 9896330

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,9 @@
8484
"chai": "^4.2.0",
8585
"cross-env": "^5.2.0",
8686
"dirty-chai": "^2.0.1",
87-
"go-ipfs-dep": "0.4.19",
87+
"go-ipfs-dep": "~0.4.21",
8888
"interface-ipfs-core": "ipfs/interface-js-ipfs-core#feat/name-resolve-dns",
89-
"ipfsd-ctl": "~0.42.0",
89+
"ipfsd-ctl": "ipfs/js-ipfsd-ctl#feat/name-resolve-dns",
9090
"nock": "^10.0.2",
9191
"stream-equal": "^1.1.1"
9292
},

test/files-mfs.spec.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ const HASH_ALGS = [
2525
'sha1',
2626
'sha2-256',
2727
'sha2-512',
28-
'keccak-224',
28+
// 'keccak-224',
2929
'keccak-256',
30-
'keccak-384',
30+
// 'keccak-384',
3131
'keccak-512'
3232
]
3333

3434
describe('.files (the MFS API part)', function () {
35-
this.timeout(120 * 1000)
35+
// this.timeout(20 * 1000)
3636

3737
let ipfsd
3838
let ipfs
@@ -95,7 +95,7 @@ describe('.files (the MFS API part)', function () {
9595
})
9696

9797
it('.add with cid-version=1 and raw-leaves=false', (done) => {
98-
const expectedCid = 'zdj7Wh9x6gXdg4UAqhRYnjBTw9eJF7hvzUU4HjpnZXHYQz9jK'
98+
const expectedCid = 'bafybeifogzovjqrcxvgt7g36y7g63hvwvoakledwk4b2fr2dl4wzawpnny'
9999
const options = { 'cid-version': 1, 'raw-leaves': false }
100100

101101
ipfs.add(testfile, options, (err, res) => {

0 commit comments

Comments
 (0)