From 699321979faea4e49d764c69d85ac5a2909e6002 Mon Sep 17 00:00:00 2001 From: Ladd Hoffman Date: Tue, 2 Apr 2024 14:19:28 -0500 Subject: [PATCH] remove console.log from tests --- ethereum/test/DAO.js | 4 ---- ethereum/test/Proposals.js | 2 -- 2 files changed, 6 deletions(-) diff --git a/ethereum/test/DAO.js b/ethereum/test/DAO.js index e231fc1..5b0ba67 100644 --- a/ethereum/test/DAO.js +++ b/ethereum/test/DAO.js @@ -127,22 +127,18 @@ describe('DAO', () => { describe('Stake', async () => { beforeEach(async () => { time.increase(POOL_DURATION + 1); - console.log('evaluating first pool'); await dao.evaluateOutcome(0); expect(await dao.balanceOf(account1)).to.equal(100); expect(await dao.balanceOf(dao.target)).to.equal(0); - console.log('initiating second pool'); await initiateValidationPool(); expect(await dao.balanceOf(dao.target)).to.equal(100); }); it('should be able to stake before validation pool has elapsed', async () => { - console.log('staking on second pool'); await dao.stake(1, 10, true); expect(await dao.balanceOf(account1)).to.equal(90); expect(await dao.balanceOf(dao.target)).to.equal(110); time.increase(POOL_DURATION + 1); - console.log('evaluating second pool'); await expect(dao.evaluateOutcome(1)).to.emit(dao, 'ValidationPoolResolved').withArgs(1, true, true); expect(await dao.balanceOf(dao.target)).to.equal(0); expect(await dao.balanceOf(account1)).to.equal(200); diff --git a/ethereum/test/Proposals.js b/ethereum/test/Proposals.js index 7fdb432..5326498 100644 --- a/ethereum/test/Proposals.js +++ b/ethereum/test/Proposals.js @@ -98,7 +98,6 @@ describe('Proposal', () => { describe('Evaluate attestation', () => { it('when threshold is met, advance to referendum 0% binding', async () => { - console.log('total REP', await dao.totalSupply()); await proposals.attest(0, 200); await expect(proposals.evaluateAttestation(0)).to.emit(dao, 'ValidationPoolInitiated').withArgs(2); proposal = await proposals.proposals(0); @@ -216,7 +215,6 @@ describe('Proposal', () => { .to.emit(dao, 'ValidationPoolInitiated').withArgs(3); proposal = await proposals.proposals(0); expect(proposal.stage).to.equal(2); - console.log('evaluated pool 2'); }); afterEach(async () => {