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

Commit c8c5ee8

Browse files
fix(files): remove duplicated expectations
1 parent 73f0896 commit c8c5ee8

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/files.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,7 @@ module.exports = (common) => {
7070
expect(err).to.not.exist
7171
expect(res).to.be.length(1)
7272
const file = res[0]
73-
expect(file).to.be.eql({
74-
path: 'data.txt',
75-
size: 17,
76-
hash: expectedMultihash
77-
})
78-
expect(file).to.eqlk
73+
expect(file).to.exist
7974
expect(file.path).to.equal('data.txt')
8075
expect(file.size).to.equal(17)
8176
expect(file.hash).to.equal(expectedMultihash)

0 commit comments

Comments
 (0)