Skip to content

Commit d1d3bbc

Browse files
Add manually coverage script to package.json
1 parent fa1d912 commit d1d3bbc

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"description": "",
55
"main": "index.js",
66
"scripts": {
7-
"run": "truffle run syntest-solidity"
7+
"run": "truffle run syntest-solidity",
8+
"coverage": "truffle run coverage"
89
},
910
"homepage": "https://github.com/syntest-framework/syntest-solidity-benchmark",
1011
"repository": {
@@ -14,6 +15,7 @@
1415
"author": "",
1516
"license": "MIT",
1617
"dependencies": {
18+
"solidity-coverage": "^0.7.16",
1719
"syntest-solidity": "file:../syntest-solidity"
1820
},
1921
"devDependencies": {}

truffle-config.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ module.exports = {
1717
// network_id: "*"
1818
// }
1919
// },
20-
//
21-
22-
plugins: ["syntest-solidity"]
20+
test_directory: "syntest/tests",
21+
plugins: ["syntest-solidity", "solidity-coverage"]
2322
};

0 commit comments

Comments
 (0)