Skip to content

Commit 0f7a68a

Browse files
committed
(feat) run compile prior running tests at package.json script
1 parent 9b509ea commit 0f7a68a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"hardhat:docker": "hardhat --network hardhatevm_docker",
1313
"compile": "SKIP_LOAD=true hardhat compile",
1414
"console:fork": "MAINNET_FORK=true hardhat console",
15-
"test": "TS_NODE_TRANSPILE_ONLY=1 hardhat test ./test/*.spec.ts",
15+
"test": "npm run compile && TS_NODE_TRANSPILE_ONLY=1 hardhat test ./test/*.spec.ts",
1616
"test-scenarios": "npm run test -- test/__setup.spec.ts test/scenario.spec.ts",
1717
"test-repay-with-collateral": "hardhat test test/__setup.spec.ts test/repay-with-collateral.spec.ts",
1818
"test-liquidate-with-collateral": "hardhat test test/__setup.spec.ts test/flash-liquidation-with-collateral.spec.ts",

0 commit comments

Comments
 (0)