aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sol-cov/src/source_maps.ts
Commit message (Collapse)AuthorAgeFilesLines
* fix linter issuesperissology2018-06-221-1/+1
|
* only call getLocationByOffset if source if definedperissology2018-06-211-4/+1
|
* Collect coverage for provided sourcesperissology2018-06-151-1/+4
| | | | | | | | | | | | | | When solidity generates source maps during contract compilation, the contracts are referred to by an id, which corresponds to an array index. We may not want to cover all sources that were included in a compilation, but because we use array indexes (vs. the id that is provided by solidity compiler) to map the contract to the sourceMap, the provided sourceCodes array must include the code at the correct index. This can result in empty slots in the sourceCodes array. This commit allows the coverage to only be collected for the contracts with provided sourceCode.
* Try enabling no-unused-variable...fragosti2018-06-051-1/+1
|
* Add tests for sol-covLeonid Logvinov2018-03-151-6/+5
|
* Address feedbackLeonid Logvinov2018-03-121-4/+9
|
* Add sol-cover implementationLeonid Logvinov2018-03-121-0/+77