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

Commit 3146ed4

Browse files
committed
this should be all
1 parent 52fcc05 commit 3146ed4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/cli/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ describe('config', () => runOnAndOff((thing) => {
1919
before(() => {
2020
ipfs = thing.ipfs
2121
configPath = path.join(ipfs.repoPath, 'config')
22-
originalConfigPath = path.join(__dirname, '../test-data/go-ipfs-repo/config')
22+
originalConfigPath = path.join(__dirname, '../go-ipfs-repo/config')
2323
updatedConfig = () => JSON.parse(fs.readFileSync(configPath, 'utf8'))
2424
restoreConfig = () => fs.writeFileSync(configPath, fs.readFileSync(originalConfigPath, 'utf8'), 'utf8')
2525
})

test/http-api/over-ipfs-api/object.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ module.exports = (ctl) => {
191191
const key = 'QmdfTbBqBPQ7VNxZEYEj14VmRuZBkqFbiwReogJgS1zR1n'
192192
const filePath = 'test/test-data/badnode.json'
193193
const expectedResult = {
194-
data: fs.readFileSync(filePath).toString(),
194+
data: fs.readFileSync(filePath),
195195
multihash: 'QmfY37rjbPCZRnhvvJuQ46htW3VCAWziVB991P79h6WSv6',
196196
links: [],
197197
size: 19
@@ -226,7 +226,7 @@ module.exports = (ctl) => {
226226
const key = 'QmfY37rjbPCZRnhvvJuQ46htW3VCAWziVB991P79h6WSv6'
227227
const filePath = 'test/test-data/badnode.json'
228228
const expectedResult = {
229-
data: fs.readFileSync(filePath).toString(),
229+
data: fs.readFileSync(filePath),
230230
multihash: 'QmfY37rjbPCZRnhvvJuQ46htW3VCAWziVB991P79h6WSv6',
231231
links: [],
232232
size: 19

0 commit comments

Comments
 (0)