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

Commit 03f58a8

Browse files
authored
Merge pull request #4 from ipfs/convert-tests-to-use-in-memory-ipld
chore: convert tests to use in memory ipld
2 parents 570cdf4 + ad1b096 commit 03f58a8

26 files changed

+1831
-1935
lines changed

package.json

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -39,18 +39,13 @@
3939
"devDependencies": {
4040
"aegir": "^17.0.0",
4141
"chai": "^4.2.0",
42+
"detect-node": "^2.0.4",
4243
"dirty-chai": "^2.0.1",
43-
"ipfs-block-service": "~0.15.1",
44-
"ipfs-repo": "~0.25.0",
4544
"ipfs-unixfs-exporter": "~0.35.4",
4645
"ipld": "~0.20.0",
47-
"mkdirp": "~0.5.1",
4846
"multihashes": "~0.4.14",
49-
"ncp": "^2.0.0",
5047
"pull-generate": "^2.2.0",
51-
"pull-stream-to-stream": "^1.3.4",
52-
"pull-zip": "^2.0.1",
53-
"rimraf": "^2.6.2",
48+
"pull-traverse": "^1.0.3",
5449
"sinon": "^7.1.0"
5550
},
5651
"dependencies": {
@@ -65,14 +60,11 @@
6560
"multihashing-async": "~0.5.1",
6661
"pull-batch": "^1.0.0",
6762
"pull-block": "^1.4.0",
68-
"pull-cat": "^1.1.11",
6963
"pull-pair": "^1.1.0",
70-
"pull-paramap": "^1.2.2",
7164
"pull-pause": "0.0.2",
7265
"pull-pushable": "^2.2.0",
7366
"pull-stream": "^3.6.9",
7467
"pull-through": "^1.0.18",
75-
"pull-traverse": "^1.0.3",
7668
"pull-write": "^1.1.4",
7769
"stream-to-pull-stream": "^1.7.2"
7870
},

test/browser.js

Lines changed: 0 additions & 59 deletions
This file was deleted.

test/builder-balanced.js renamed to test/builder-balanced.spec.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ const expect = chai.expect
77
const pull = require('pull-stream/pull')
88
const values = require('pull-stream/sources/values')
99
const collect = require('pull-stream/sinks/collect')
10-
1110
const builder = require('../src/builder/balanced')
1211

1312
function reduce (leaves, callback) {

0 commit comments

Comments
 (0)