From 465dd2abfab4a420d7c417001ce4874ab57de9e3 Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Wed, 13 Sep 2023 08:12:33 +0000 Subject: [PATCH] fix: yarn fix --- --- a/tests/src/governance/init.test.ts +++ b/tests/src/governance/init.test.ts @@ -41,7 +41,7 @@ yaroslav, daniel, - ] = await helper.arrange.createAccounts(new Array(counselorsNum + techCommsNum + coreDevsNum).fill(10_000n), donor); + ] = await helper.arrange.createAccounts(new Array(counselorsNum + techCommsNum + coreDevsNum).fill(10_000n), donor); counselors = { alex, @@ -65,12 +65,10 @@ }); itSub('Initialize Governance', async ({helper}) => { - const promoteFellow = (fellow: string, promotionsNum: number) => { - return new Array(promotionsNum).fill(helper.fellowship.collective.promoteCall(fellow)); - }; + const promoteFellow = (fellow: string, promotionsNum: number) => new Array(promotionsNum).fill(helper.fellowship.collective.promoteCall(fellow)); const expectFellowRank = async (fellow: string, expectedRank: number) => { - expect(await helper.fellowship.collective.getMemberRank(fellow)).to.be.equal(expectedRank); + expect(await helper.fellowship.collective.getMemberRank(fellow)).to.be.equal(expectedRank); }; console.log('\t- Setup the Prime of the Council via sudo'); -- gitstuff