Skip to content
This repository has been archived by the owner on Jun 29, 2020. It is now read-only.

Commit

Permalink
Add coverage and basic test to smart-contracts (#52)
Browse files Browse the repository at this point in the history
* Add solidity-coverage package and test and coverage scripts

* Add basic test

* Ignore coverage folder

* Merge coverages

* Update travis script

* fix linter

* Use case-sensitive filename

* Add ethereumjs-abi package

* Reduce coverage values in frontend test

* Reduce coverage values in frontend test
  • Loading branch information
garatortiz committed Jul 4, 2018
1 parent 3bb29f9 commit da256e3
Show file tree
Hide file tree
Showing 9 changed files with 4,431 additions and 121 deletions.
4 changes: 3 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
"jest": false,
"describe": false,
"it": false,
"expect": false
"expect": false,
"contract": false,
"assert": false
}
}
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ language: node_js

script:
- npm run lint
- npm run --prefix=blockchain coverage
- npm test

after_success:
Expand Down
3 changes: 3 additions & 0 deletions blockchain/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
/build/contracts/*
!/build/contracts/PoBA.json

coverage/
coverage.json
Loading

0 comments on commit da256e3

Please sign in to comment.