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

Commit ee6424f

Browse files
dignifiedquiredaviddias
authored andcommitted
fix: use new nested aegir fixtures (#84)
1 parent 03a34d5 commit ee6424f

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

src/files.js

+8-8
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,16 @@ module.exports = (common) => {
2222
// CI is slow
2323
this.timeout(20 * 1000)
2424

25-
smallFile = loadFixture(__dirname, '../test/fixtures/testfile.txt')
26-
bigFile = loadFixture(__dirname, '../test/fixtures/15mb.random')
25+
smallFile = loadFixture(__dirname, '../test/fixtures/testfile.txt', 'interface-ipfs-core')
26+
bigFile = loadFixture(__dirname, '../test/fixtures/15mb.random', 'interface-ipfs-core')
2727

2828
directoryContent = {
29-
'pp.txt': loadFixture(__dirname, '../test/fixtures/test-folder/pp.txt'),
30-
'holmes.txt': loadFixture(__dirname, '../test/fixtures/test-folder/holmes.txt'),
31-
'jungle.txt': loadFixture(__dirname, '../test/fixtures/test-folder/jungle.txt'),
32-
'alice.txt': loadFixture(__dirname, '../test/fixtures/test-folder/alice.txt'),
33-
'files/hello.txt': loadFixture(__dirname, '../test/fixtures/test-folder/files/hello.txt'),
34-
'files/ipfs.txt': loadFixture(__dirname, '../test/fixtures/test-folder/files/ipfs.txt')
29+
'pp.txt': loadFixture(__dirname, '../test/fixtures/test-folder/pp.txt', 'interface-ipfs-core'),
30+
'holmes.txt': loadFixture(__dirname, '../test/fixtures/test-folder/holmes.txt', 'interface-ipfs-core'),
31+
'jungle.txt': loadFixture(__dirname, '../test/fixtures/test-folder/jungle.txt', 'interface-ipfs-core'),
32+
'alice.txt': loadFixture(__dirname, '../test/fixtures/test-folder/alice.txt', 'interface-ipfs-core'),
33+
'files/hello.txt': loadFixture(__dirname, '../test/fixtures/test-folder/files/hello.txt', 'interface-ipfs-core'),
34+
'files/ipfs.txt': loadFixture(__dirname, '../test/fixtures/test-folder/files/ipfs.txt', 'interface-ipfs-core')
3535
}
3636

3737
common.setup((err, factory) => {

src/pin.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
const expect = require('chai').expect
77
const loadFixture = require('aegir/fixtures')
88

9-
const testfile = loadFixture(__dirname, '../test/fixtures/testfile.txt')
9+
const testfile = loadFixture(__dirname, '../test/fixtures/testfile.txt', 'interface-ipfs-core')
1010

1111
module.exports = (common) => {
1212
describe('.pin', () => {

0 commit comments

Comments
 (0)