Skip to content
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.

Commit

Permalink
relax test precision
Browse files Browse the repository at this point in the history
  • Loading branch information
levity committed Dec 10, 2019
1 parent 3488b5e commit d3bf1d6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ describe('SCD to MCD CDP Migration', () => {
let cdp, proxyAddress;

beforeEach(async () => {
jest.setTimeout(20000);
snapshotData = await takeSnapshot(maker);
proxyAddress = await maker.service('proxy').currentProxy();
await openLockAndDrawScdCdp(100);
Expand Down Expand Up @@ -160,7 +161,7 @@ describe('SCD to MCD CDP Migration', () => {
const mcdDebt = mcdCdp.debtValue.toNumber();

expect(mcdCollateral).toEqual(scdCollateral.toNumber());
expect(mcdDebt).toBeCloseTo(scdDebt.toNumber());
expect(mcdDebt).toBeCloseTo(scdDebt.toNumber(), 1);

let message;
try {
Expand Down

0 comments on commit d3bf1d6

Please sign in to comment.