git.delta.rocks / unique-network / refs/commits / 465dd2abfab4

difftreelog

fix yarn fix

Daniel Shiposha2023-09-13parent: #db9303e.patch.diff
in: master

1 file changed

modifiedtests/src/governance/init.test.tsdiffbeforeafterboth
65 });65 });
6666
67 itSub('Initialize Governance', async ({helper}) => {67 itSub('Initialize Governance', async ({helper}) => {
68 const promoteFellow = (fellow: string, promotionsNum: number) => {68 const promoteFellow = (fellow: string, promotionsNum: number) => new Array(promotionsNum).fill(helper.fellowship.collective.promoteCall(fellow));
69 return new Array(promotionsNum).fill(helper.fellowship.collective.promoteCall(fellow));
70 };
7169
72 const expectFellowRank = async (fellow: string, expectedRank: number) => {70 const expectFellowRank = async (fellow: string, expectedRank: number) => {
73 expect(await helper.fellowship.collective.getMemberRank(fellow)).to.be.equal(expectedRank);71 expect(await helper.fellowship.collective.getMemberRank(fellow)).to.be.equal(expectedRank);