Skip to content

Commit

Permalink
feat: README
Browse files Browse the repository at this point in the history
  • Loading branch information
defispartan committed Jan 10, 2025
1 parent 99f5e80 commit 8c2faa1
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ To run tests on a specific network:
yarn test [--network <network-name>]
```

For example, to run tests on the `lensTestnet` network:
For example, to run Hardhat tests (\*.test.ts) on the `lensTestnet` network:

```bash
yarn test --network lensTestnet
Expand All @@ -112,7 +112,13 @@ Switch to Foundry ZKSync version:
foundryup-zksync
```

Run tests:
To run Foundry tests (\*.t.sol) on the `lensTestnet` network, compile contract source:

```bash
FOUNDRY_PROFILE=zksync forge compile --zksync
```

Then run tests:

```bash
FOUNDRY_PROFILE=zksync forge test --zksync
Expand Down

0 comments on commit 8c2faa1

Please sign in to comment.