Skip to content

Commit

Permalink
Added test coverage, staking-client tests, now above 80%
Browse files Browse the repository at this point in the history
  • Loading branch information
ProfMoo committed Dec 4, 2024
1 parent 83b80ac commit cd94045
Show file tree
Hide file tree
Showing 8 changed files with 2,360 additions and 141 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,7 @@ dist/
node_modules/

docs/**/*.json

# code coverage output
coverage
.nyc_output
22 changes: 22 additions & 0 deletions .nycrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"extends": "@istanbuljs/nyc-config-typescript",
"all": true,
"include": [
"src/**/*.ts"
],
"exclude": [
"src/**/*.test.ts",
"src/**/index.ts",
"node_modules",
"src/gen"
],
"reporter": [
"text",
"html"
],
"check-coverage": true,
"lines": 80,
"statements": 80,
"functions": 80,
"branches": 80
}
Loading

0 comments on commit cd94045

Please sign in to comment.