PatrickAlphaC / hardhat-smartcontract-lottery-fcc

MIT License
117 stars 183 forks source link

Initialize starting balance variable at the top #181

Closed akinsikuoluwafemi closed 11 months ago

akinsikuoluwafemi commented 11 months ago

I fixed the formatting as well.

it("picks a winner, resets, and sends money",  async () => {
  ....
})
so I just added a let startingBalance above;