Skip to content

Commit

Permalink
simplify view score check on previous test
Browse files Browse the repository at this point in the history
  • Loading branch information
gfournieriExec committed Nov 20, 2024
1 parent 3823a3f commit 5c6045a
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions test/000_fullchain.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -298,11 +298,9 @@ describe('Integration tests', function () {
frozenChanges: expectedFrozenChanges,
});
for (let i = 0; i < workerNumber; i++) {
if (workerNumber == 1) {
expect(await iexecPoco.viewScore(workers[i].address)).to.be.equal(0);
} else {
expect(await iexecPoco.viewScore(workers[i].address)).to.be.equal(1);
}
expect(await iexecPoco.viewScore(workers[i].address)).to.be.equal(
workerNumber == 1 ? 0 : 1,
);
}
});
}
Expand Down

0 comments on commit 5c6045a

Please sign in to comment.