Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jankjr committed Jul 13, 2023
1 parent 82b7904 commit 84205c9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ const execTestForToken = ({ token, poolToken, amount }: ITestSuiteVariant) => {
const fraction = (percent: number) => ((amountAsNumber * percent) / 100).toFixed(1)

const closeTo = async (actual: Promise<string>, expected: string) => {
await new Promise((r) => setTimeout(r, 200))
expect(parseFloat(await actual)).to.closeTo(parseFloat(expected), 0.5)
}

Expand Down

0 comments on commit 84205c9

Please sign in to comment.