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

Commit cf5de3d

Browse files
committed
down to to in patch.appendData
1 parent bbaffb4 commit cf5de3d

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

test/http-api/index.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,8 @@ describe('HTTP API', () => {
2121
before((done) => {
2222
http.api = new API(repoTests)
2323

24-
clean(repoTests)
2524
ncp(repoExample, repoTests, (err) => {
26-
if (err) {
27-
return done(err)
28-
}
25+
expect(err).to.not.exist()
2926

3027
http.api.start(false, done)
3128
})

test/http-api/spec/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const path = require('path')
1010
module.exports = (http) => {
1111
describe('/config', () => {
1212
const configPath = path.join(__dirname, '../../repo-tests-run/config')
13-
const originalConfigPath = path.join(__dirname, '../../test-data/go-ipfs-repo/config')
13+
const originalConfigPath = path.join(__dirname, '../../go-ipfs-repo/config')
1414

1515
let updatedConfig
1616
let api

0 commit comments

Comments
 (0)