Skip to content
This repository has been archived by the owner on Aug 23, 2019. It is now read-only.

Commit

Permalink
fix: adjust test values
Browse files Browse the repository at this point in the history
  • Loading branch information
dryajov authored and Jacob Heun committed Jul 16, 2018
1 parent bff0a8b commit 19d99d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/stats.node.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,8 @@ describe('Stats', () => {
expect(err).to.not.exist()
switches.forEach((swtch) => {
let snapshot = swtch.stats.forProtocol('/echo/1.0.0').snapshot
expect(snapshot.dataReceived.toFixed()).to.equal('4')
expect(snapshot.dataSent.toFixed()).to.equal('4')
expect(snapshot.dataReceived.toFixed()).to.equal('8')
expect(snapshot.dataSent.toFixed()).to.equal('8')
})
teardown(switches, done)
})
Expand Down

0 comments on commit 19d99d3

Please sign in to comment.