diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2019-01-22 20:02:16 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2019-01-22 20:02:16 +0800 |
commit | 7015fc4dbca1aa275b4b771dd1198ca1a72d71cf (patch) | |
tree | bfa48ef852110d6fa7fa2f05db33e71d69cb914f /packages/sol-tracing-utils/src | |
parent | 7e60138e9d1a19004b1ad5337d2ee751a777129f (diff) | |
download | dexon-0x-contracts-7015fc4dbca1aa275b4b771dd1198ca1a72d71cf.tar.gz dexon-0x-contracts-7015fc4dbca1aa275b4b771dd1198ca1a72d71cf.tar.zst dexon-0x-contracts-7015fc4dbca1aa275b4b771dd1198ca1a72d71cf.zip |
Fix tests
Diffstat (limited to 'packages/sol-tracing-utils/src')
-rw-r--r-- | packages/sol-tracing-utils/src/collect_coverage_entries.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/sol-tracing-utils/src/collect_coverage_entries.ts b/packages/sol-tracing-utils/src/collect_coverage_entries.ts index 964095b53..b32be12dd 100644 --- a/packages/sol-tracing-utils/src/collect_coverage_entries.ts +++ b/packages/sol-tracing-utils/src/collect_coverage_entries.ts @@ -15,7 +15,7 @@ export const collectCoverageEntries = (contractSource: string, ignoreRegexp?: Re const offsetToLocation = getOffsetToLocation(contractSource); const ignoreRangesBegingingAt = _.isUndefined(ignoreRegexp) ? [] - : gatherRangesToIgnore(contractSource, ignoreRegexp as RegExp); + : gatherRangesToIgnore(contractSource, ignoreRegexp); const visitor = new ASTVisitor(offsetToLocation, ignoreRangesBegingingAt); parser.visit(ast, visitor); sourceHashToCoverageEntries[sourceHash] = visitor.getCollectedCoverageEntries(); |