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

Commit badb634

Browse files
test: more issues
1 parent 7e59d26 commit badb634

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

test/exporter-subtree.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ const exporter = unixFSEngine.exporter
1616
const smallFile = loadFixture(__dirname, 'fixtures/200Bytes.txt')
1717

1818
module.exports = (repo) => {
19-
describe('exporter', () => {
19+
describe('exporter', function () {
20+
this.timeout(10 * 1000)
21+
2022
let ipldResolver
2123

2224
before(() => {
@@ -52,7 +54,7 @@ module.exports = (repo) => {
5254
fileEql(files[1], smallFile, done)
5355
})
5456
)
55-
}).timeout(10 * 1000)
57+
})
5658

5759
it('export a non existing file', (done) => {
5860
const hash = 'QmWChcSFMNcFkfeJtNd8Yru1rE6PhtCRfewi1tMwjkwKjN/doesnotexist'
@@ -65,7 +67,7 @@ module.exports = (repo) => {
6567
done()
6668
})
6769
)
68-
}).timeout(10 * 1000)
70+
})
6971

7072
it('exports starting from non-protobuf node', (done) => {
7173
const doc = { a: { file: new CID('QmWChcSFMNcFkfeJtNd8Yru1rE6PhtCRfewi1tMwjkwKjN') } }

test/with-dag-api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ const strategyOverrides = {
107107

108108
}
109109

110-
describe('with dag-api', function() {
110+
describe('with dag-api', function () {
111111
// TODO: waiting for IPFS support on windows, https://github.com/ipfs/js-ipfs-unixfs-engine/issues/196
112112
if (os.platform() === 'win32') {
113113
return

0 commit comments

Comments
 (0)