Skip to content

Commit

Permalink
chore: Fix broken savingsManager test
Browse files Browse the repository at this point in the history
  • Loading branch information
alsco77 committed Aug 16, 2021
1 parent a7f6d78 commit 66bdc11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/savings/savings-manager.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,7 @@ describe("SavingsManager", async () => {
assertBNClose(
BN.from(interectCollectedEvent.args.apy),
expectedAPY,
simpleToExactAmount(5, 11), // allow for a 0.000005% deviation in the percentage
simpleToExactAmount(1, 12), // allow for a 0.00001 deviation in the percentage
)
const lastCollectionAfter = await savingsManager.lastCollection(mUSD.address)
assertBNClose(lastCollectionAfter, curTime, BN.from(2))
Expand Down

0 comments on commit 66bdc11

Please sign in to comment.