Skip to content
This repository has been archived by the owner on May 17, 2024. It is now read-only.

Update README.md, and FundMe.test.js #61

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,22 @@ If you can't or don't want to run and install locally, you can work with this re

[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#github.com/PatrickAlphaC/hardhat-fund-me-fcc)

# Installing Hardhat Deploy

To install hardhat deploy run the command:
```
npm install --save-dev @nomiclabs/hardhat-ethers@npm:hardhat-deploy-ethers ethers
```
[hardhat-deploy repo](https://github.com/wighawag/hardhat-deploy#installation)

# Usage

Deploy:

```
yarn hardhat deploy
```


## Testing

```
Expand Down
2 changes: 1 addition & 1 deletion test/unit/FundMe.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ const { developmentChains } = require("../../helper-hardhat-config")
endingDeployerBalance.add(withdrawGasCost).toString()
)
// Make a getter for storage variables
await expect(fundMe.getFunder(0)).to.be.reverted
await expect(fundMe.getFunder({ value: 0 })).to.be.reverted

for (i = 1; i < 6; i++) {
assert.equal(
Expand Down