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

fix: return rate in/out as number #3798

Merged
merged 5 commits into from
Aug 10, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: fix test
  • Loading branch information
achingbrain committed Aug 9, 2021
commit 26bd4d6921b81a29318fdfbb1009e756e648b806
4 changes: 2 additions & 2 deletions packages/interface-ipfs-core/src/stats/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ exports.expectIsBandwidth = (err, stats) => {
expect(stats).to.have.a.property('rateOut')
expect(isBigInt(stats.totalIn)).to.eql(true)
expect(isBigInt(stats.totalOut)).to.eql(true)
expect(isBigInt(stats.rateIn)).to.eql(true)
expect(isBigInt(stats.rateOut)).to.eql(true)
expect(stats.rateIn).to.be.a('number')
expect(stats.rateOut).to.be.a('number')
}

/**
Expand Down