Skip to content

Commit 1b02780

Browse files
committed
fix: testing command
1 parent a98a962 commit 1b02780

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ jobs:
111111
out
112112
113113
- name: "Run Hardhat tests"
114-
run: "bun test"
114+
run: "bun hardhat test"
115115

116116
- name: "Add Hardhat test summary"
117117
run: |

package.json

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,25 +10,24 @@
1010
"biome:check": "biome check .",
1111
"biome:write": "biome check --write . && bun run biome:write:imports",
1212
"biome:write:imports": "biome lint --write --only correctness/noUnusedImports .",
13-
"chain": "bun hardhat node --no-deploy --export-all ./generated/chain.json --network hardhat",
13+
"chain": "hardhat node --no-deploy --export-all ./generated/chain.json --network hardhat",
1414
"clean": "shx rm -rf ./artifacts ./cache ./cache_hardhat ./coverage ./coverage.json ./types && bun typechain",
15-
"compile": "cross-env TS_NODE_TRANSPILE_ONLY=true bun hardhat compile",
16-
"coverage": "bun hardhat coverage --solcoverjs ./.solcover.js --temp artifacts --testfiles \"test/**/*.ts\" && bun typechain",
17-
"deploy:hardhat-deploy": "bun hardhat deploy --export-all ./deployments/hardhat_contracts.json",
15+
"compile": "cross-env TS_NODE_TRANSPILE_ONLY=true hardhat compile",
16+
"coverage": "hardhat coverage --solcoverjs ./.solcover.js --temp artifacts --testfiles \"test/**/*.ts\" && bun typechain",
17+
"deploy:hardhat-deploy": "hardhat deploy --export-all ./deployments/hardhat_contracts.json",
1818
"deploy": "bun deploy:hardhat-deploy --network hardhat",
1919
"deploy:network": "bun deploy:hardhat-deploy --network",
20-
"fork": "bun hardhat node --network hardhat --fork https://mainnet.infura.io/v3/460f40a260564ac4a4f4b3fffb032dad",
20+
"fork": "hardhat node --network hardhat --fork https://mainnet.infura.io/v3/460f40a260564ac4a4f4b3fffb032dad",
2121
"lint": "bun lint:sol && bun lint:ts && bun prettier:check",
2222
"lint:sol": "forge fmt --check && bun solhint \"{script,contracts,test}/**/*.sol\"",
2323
"lint:ts": "bun run biome:check",
24-
"networks": "bun hardhat networks",
24+
"networks": "hardhat networks",
2525
"postinstall": "DOTENV_CONFIG_PATH=./.env.example bun typechain",
2626
"prettier:write": "prettier --cache --write \"**/*.{md,yml}\"",
2727
"prettier:check": "prettier --cache --check \"**/*.{md,yml}\"",
28-
"test": "bun hardhat test",
29-
"test:gas": "REPORT_GAS=true CONTRACT_SIZER=true bun hardhat test",
30-
"typechain": "cross-env TS_NODE_TRANSPILE_ONLY=true bun hardhat typechain",
31-
"verify": "bun hardhat run scripts/verify.ts --network"
28+
"test:gas": "REPORT_GAS=true CONTRACT_SIZER=true hardhat test",
29+
"typechain": "cross-env TS_NODE_TRANSPILE_ONLY=true hardhat typechain",
30+
"verify": "hardhat run scripts/verify.ts --network"
3231
},
3332
"devDependencies": {
3433
"@biomejs/biome": "2.2.5",

0 commit comments

Comments
 (0)