Skip to content

Commit

Permalink
refactor: remove pnpm test script
Browse files Browse the repository at this point in the history
  • Loading branch information
guidanoli committed May 13, 2024
1 parent d4c1164 commit d83563a
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- uses: ./.github/workflows/setup

- name: Run tests
run: pnpm test
run: forge test -vvv

- name: Upload signatures
run: forge selectors upload --all
6 changes: 0 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
.DS_Store
.env
.node*
.vscode
/abi
/artifacts
/cache
/contracts.json
/coverage*
/deployments/*/solcInputs/*.json
/deployments/localhost
Expand Down
4 changes: 0 additions & 4 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@ cache
deployments
dist
export
generated-src
src/types
abi
out
lib
forge-cache
test/foundry/dapp/helper/input
test/foundry/dapp/helper/output
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ If the node is not listening to `http://localhost:8545/`, please set the `RPC_UR
If you want to run the tests, please run the following command.

```sh
pnpm test
forge test -vvv
```

## 📚 Documentation
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
"preinstall": "npx only-allow pnpm",
"prepack": "run-s build tsc:prod copy-dts",
"start": "hardhat node",
"test": "forge test -vvv",
"tsc": "tsc",
"tsc:prod": "tsc -p tsconfig.prod.json"
},
Expand Down
2 changes: 1 addition & 1 deletion test/foundry/dapp/Application.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ contract ApplicationTest is ERC165Test {
_tokenIds.push(i);
_initialSupplies.push(_initialSupply);
_transferAmounts.push(
bound(uint256(keccak256(abi.encode(i))), 1, _initialSupply)
1 + (uint256(keccak256(abi.encode(i))) % _initialSupply)
);
}
}
Expand Down

0 comments on commit d83563a

Please sign in to comment.