aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sol-tracing-utils/src
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2019-01-22 20:02:16 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2019-01-22 20:02:16 +0800
commit7015fc4dbca1aa275b4b771dd1198ca1a72d71cf (patch)
treebfa48ef852110d6fa7fa2f05db33e71d69cb914f /packages/sol-tracing-utils/src
parent7e60138e9d1a19004b1ad5337d2ee751a777129f (diff)
downloaddexon-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.ts2
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();