Skip to content

Commit

Permalink
Fix allocatedGivbacksQuery test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
mohammadranjbarz committed Sep 11, 2024
1 parent 05d67d8 commit 55c354c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/resolvers/donationResolver.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5057,15 +5057,15 @@ async function allocatedGivbacksQueryTestCases() {
const donor2 = await saveUserDirectlyToDb(generateRandomEtheriumAddress());

const valueUsd1 = 100;
const givbackFactor1 = 0.5;
const givbackFactor1 = 0.55;

const valueUsd2 = 200;
const givbackFactor2 = 0.65;

const valueUsd3 = 300;
const givbackFactor3 = 0.7;

const powerRound = 321425;
const powerRound = 438127;
await setPowerRound(powerRound);

await saveDonationDirectlyToDb(
Expand Down Expand Up @@ -5098,6 +5098,9 @@ async function allocatedGivbacksQueryTestCases() {
graphqlUrl,
{
query: allocatedGivbacksQuery,
variables: {
refreshCache: true,
},
},
{},
);
Expand Down

0 comments on commit 55c354c

Please sign in to comment.