Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
09e26913
Unverified
Commit
09e26913
authored
Oct 29, 2021
by
elenadimitrova
Committed by
Kelvin Fichter
Nov 10, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add istanbul checks for code coverage thresholds
parent
fa149c16
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
1 deletion
+22
-1
package.json
packages/contracts/package.json
+2
-1
yarn.lock
yarn.lock
+20
-0
No files found.
packages/contracts/package.json
View file @
09e26913
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
"autogen:artifacts"
:
"node scripts/generate-artifacts.js && node scripts/generate-deployed-artifacts.js"
,
"autogen:artifacts"
:
"node scripts/generate-artifacts.js && node scripts/generate-deployed-artifacts.js"
,
"test"
:
"yarn test:contracts"
,
"test"
:
"yarn test:contracts"
,
"test:contracts"
:
"hardhat test --show-stack-traces"
,
"test:contracts"
:
"hardhat test --show-stack-traces"
,
"test:coverage"
:
"NODE_OPTIONS=--max_old_space_size=8192 hardhat coverage"
,
"test:coverage"
:
"NODE_OPTIONS=--max_old_space_size=8192 hardhat coverage
&& istanbul check-coverage --statements 88 --branches 76 --functions 84 --lines 88
"
,
"test:slither"
:
"slither ."
,
"test:slither"
:
"slither ."
,
"pretest:slither"
:
"rm -f @openzeppelin && rm -f @ens && rm -f hardhat && ln -s ../../node_modules/@openzeppelin @openzeppelin && ln -s ../../node_modules/@ens @ens && ln -s ../../node_modules/hardhat hardhat"
,
"pretest:slither"
:
"rm -f @openzeppelin && rm -f @ens && rm -f hardhat && ln -s ../../node_modules/@openzeppelin @openzeppelin && ln -s ../../node_modules/@ens @ens && ln -s ../../node_modules/hardhat hardhat"
,
"posttest:slither"
:
"rm -f @openzeppelin && rm -f @ens && rm -f hardhat"
,
"posttest:slither"
:
"rm -f @openzeppelin && rm -f @ens && rm -f hardhat"
,
...
@@ -88,6 +88,7 @@
...
@@ -88,6 +88,7 @@
"hardhat"
:
"^2.3.0"
,
"hardhat"
:
"^2.3.0"
,
"hardhat-deploy"
:
"^0.9.3"
,
"hardhat-deploy"
:
"^0.9.3"
,
"hardhat-gas-reporter"
:
"^1.0.4"
,
"hardhat-gas-reporter"
:
"^1.0.4"
,
"istanbul"
:
"^0.4.5"
,
"lint-staged"
:
"11.0.0"
,
"lint-staged"
:
"11.0.0"
,
"lodash"
:
"^4.17.21"
,
"lodash"
:
"^4.17.21"
,
"merkle-patricia-tree"
:
"^4.0.0"
,
"merkle-patricia-tree"
:
"^4.0.0"
,
...
...
yarn.lock
View file @
09e26913
...
@@ -9208,6 +9208,26 @@ istanbul-reports@^3.0.2:
...
@@ -9208,6 +9208,26 @@ istanbul-reports@^3.0.2:
html-escaper "^2.0.0"
html-escaper "^2.0.0"
istanbul-lib-report "^3.0.0"
istanbul-lib-report "^3.0.0"
istanbul@^0.4.5:
version "0.4.5"
resolved "https://registry.yarnpkg.com/istanbul/-/istanbul-0.4.5.tgz#65c7d73d4c4da84d4f3ac310b918fb0b8033733b"
integrity sha1-ZcfXPUxNqE1POsMQuRj7C4Azczs=
dependencies:
abbrev "1.0.x"
async "1.x"
escodegen "1.8.x"
esprima "2.7.x"
glob "^5.0.15"
handlebars "^4.0.1"
js-yaml "3.x"
mkdirp "0.5.x"
nopt "3.x"
once "1.x"
resolve "1.1.x"
supports-color "^3.1.0"
which "^1.1.1"
wordwrap "^1.0.0"
isurl@^1.0.0-alpha5:
isurl@^1.0.0-alpha5:
version "1.0.0"
version "1.0.0"
resolved "https://registry.yarnpkg.com/isurl/-/isurl-1.0.0.tgz#b27f4f49f3cdaa3ea44a0a5b7f3462e6edc39d67"
resolved "https://registry.yarnpkg.com/isurl/-/isurl-1.0.0.tgz#b27f4f49f3cdaa3ea44a0a5b7f3462e6edc39d67"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment