remove console.log from tests
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 32s
Details
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 32s
Details
This commit is contained in:
parent
90ac50ec39
commit
699321979f
|
@ -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);
|
||||
|
|
|
@ -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 () => {
|
||||
|
|
Loading…
Reference in New Issue