diff --git a/test/000_fullchain.test.ts b/test/000_fullchain.test.ts index 608c8ee4..0c14a476 100644 --- a/test/000_fullchain.test.ts +++ b/test/000_fullchain.test.ts @@ -352,6 +352,10 @@ describe('Integration tests', function () { contributor.signer, ); } + // verify that the bad worker can't reveal. + await expect( + iexecPoco.connect(losingWorker).reveal(taskId, badResultDigest), + ).to.be.revertedWithoutReason(); for (const winningWorker of winningWorkers) { await iexecPoco .connect(winningWorker)