Closed fvictorio closed 6 years ago
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
server-lib/sign.js | 2 | 0.0% | ||
routes/prepare_reg_tx.js | 8 | 0.0% | ||
<!-- | Total: | 10 | --> |
Totals | |
---|---|
Change from base Build 25: | 0.07% |
Covered Lines: | 62 |
Relevant Lines: | 739 |
The smart contract tests need to build valid values for the secp256k1 signature. To make this easier and DRY, I moved the logic of building the text to sign to a reusable function, and used that in the tests.
This PR also:
db.set
(it was used with a callback, but it was promisified in a previous PR)..
(hidden files in linux) when loading the route files.