Skip to content

Unnecessary line in calyptus-hill test #1

Description

@olegsinavski

Hello, in the calyptus-hill.js test, in the after function we can see the following code:

    bribe = await this.calyptusHill.bribe();

    if (
      expect(await this.calyptusHill.atTheTop()).not.to.equal(alice.address)
    ) {
      console.log(`You have passed the ${challengeName}.`);
    }

Am I right that bribe = await this.calyptusHill.bribe(); doesn't do anything? Afterall, its just a getter and I don't think it can influence the success of the condition below

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions