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

Commit 555c5a8

Browse files
authored
tests - cli - dag - update for new test format (fix)
1 parent 5e9f5fa commit 555c5a8

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

test/cli/test-dag.js

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,11 @@ describe('dag', () => runOnAndOff((thing) => {
1111
ipfs = thing.ipfs
1212
})
1313

14-
describeOnlineAndOffline(repoPath, (tester) => {
15-
it('get', () => {
16-
return ipfs('dag get z43AaGF23fmvRnDP56Ub9WcJCfzSfqtmzNCCvmz5eudT8dtdCDS/parentHash').then((out) => {
17-
let expectHash = new Buffer('c8c0a17305adea9bbb4b98a52d44f0c1478f5c48fc4b64739ee805242501b256', 'hex')
18-
expect(out).to.be.eql(expectHash)
19-
})
20-
})
21-
})
14+
it('get', () => {
15+
return ipfs('dag get z43AaGF23fmvRnDP56Ub9WcJCfzSfqtmzNCCvmz5eudT8dtdCDS/parentHash').then((out) => {
16+
let expectHash = new Buffer('c8c0a17305adea9bbb4b98a52d44f0c1478f5c48fc4b64739ee805242501b256', 'hex')
17+
expect(out).to.be.eql(expectHash)
18+
})
19+
})
2220

2321
}))

0 commit comments

Comments
 (0)