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

Commit 1386b65

Browse files
committed
test: use expect.includes()
1 parent 4da53ba commit 1386b65

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/files-regular/refs-local-tests.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ module.exports = (createCommon, suiteName, ipfsRefsLocal, options) => {
4949
expect(err).to.not.exist()
5050

5151
const cids = refs.map(r => r.Ref)
52-
expect(cids.includes('QmVwdDCY4SPGVFnNCiZnX5CtzwWDn6kAM98JXzKxE3kCmn')).to.eql(true)
53-
expect(cids.includes('QmR4nFjTu18TyANgC65ArNWp5Yaab1gPzQ4D8zp7Kx3vhr')).to.eql(true)
52+
expect(cids).to.include('QmVwdDCY4SPGVFnNCiZnX5CtzwWDn6kAM98JXzKxE3kCmn')
53+
expect(cids).to.include('QmR4nFjTu18TyANgC65ArNWp5Yaab1gPzQ4D8zp7Kx3vhr')
5454

5555
done()
5656
})

0 commit comments

Comments
 (0)