Skip to content

Commit

Permalink
changing APR to "greaterThanOrEqual" instead of "greaterThan";
Browse files Browse the repository at this point in the history
  • Loading branch information
Luiz Gustavo Abou Hatem De Liz committed Jan 29, 2024
1 parent ef34305 commit b435230
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion balancer-js/src/modules/pools/apr/apr.integration.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ describe('APR tests', () => {
const pool = await pools.find(veBalId);
if (pool) {
const apr = await pools.apr(pool);
expect(apr.protocolApr).to.be.greaterThan(1);
expect(apr.protocolApr).to.be.greaterThanOrEqual(1);
} else {
throw 'no pool found';
}
Expand All @@ -65,6 +65,7 @@ describe('APR tests', () => {
const pool = await pools.find(auraBALveBAL);
if (pool) {
const apr = await pools.apr(pool);
console.log(apr);
expect(apr.tokenAprs.total).to.be.greaterThan(1);
} else {
throw 'no pool found';
Expand Down

0 comments on commit b435230

Please sign in to comment.