diff options
Diffstat (limited to 'packages/sol-cov/src')
-rw-r--r-- | packages/sol-cov/src/coverage_manager.ts | 2 | ||||
-rw-r--r-- | packages/sol-cov/src/coverage_subprovider.ts | 2 | ||||
-rw-r--r-- | packages/sol-cov/src/profiler_manager.ts | 2 | ||||
-rw-r--r-- | packages/sol-cov/src/profiler_subprovider.ts | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/packages/sol-cov/src/coverage_manager.ts b/packages/sol-cov/src/coverage_manager.ts index a55967243..673a3e600 100644 --- a/packages/sol-cov/src/coverage_manager.ts +++ b/packages/sol-cov/src/coverage_manager.ts @@ -137,7 +137,7 @@ export class CoverageManager { await mkdirpAsync('coverage'); fs.writeFileSync('coverage/coverage.json', stringifiedCoverage); } - public async computeCoverageAsync(traceInfo: TraceInfo): Promise<void> { + public async computeSingleTraceCoverageAsync(traceInfo: TraceInfo): Promise<void> { if (_.isUndefined(this._contractsData)) { this._contractsData = await this._artifactAdapter.collectContractsDataAsync(); } diff --git a/packages/sol-cov/src/coverage_subprovider.ts b/packages/sol-cov/src/coverage_subprovider.ts index 6fb709e86..3529fb885 100644 --- a/packages/sol-cov/src/coverage_subprovider.ts +++ b/packages/sol-cov/src/coverage_subprovider.ts @@ -25,7 +25,7 @@ export class CoverageSubprovider extends TraceCollectionSubprovider { this._coverageManager = new CoverageManager(artifactAdapter, isVerbose); } public async handleTraceInfoAsync(traceInfo: TraceInfo): Promise<void> { - await this._coverageManager.computeCoverageAsync(traceInfo); + await this._coverageManager.computeSingleTraceCoverageAsync(traceInfo); } /** * Write the test coverage results to a file in Istanbul format. diff --git a/packages/sol-cov/src/profiler_manager.ts b/packages/sol-cov/src/profiler_manager.ts index bec92f424..88e183cbd 100644 --- a/packages/sol-cov/src/profiler_manager.ts +++ b/packages/sol-cov/src/profiler_manager.ts @@ -93,7 +93,7 @@ export class ProfilerManager { await mkdirpAsync('coverage'); fs.writeFileSync('coverage/coverage.json', stringifiedCoverage); } - public async computeCoverageAsync(traceInfo: TraceInfo): Promise<void> { + public async computeSingleTraceCoverageAsync(traceInfo: TraceInfo): Promise<void> { if (_.isUndefined(this._contractsData)) { this._contractsData = await this._artifactAdapter.collectContractsDataAsync(); } diff --git a/packages/sol-cov/src/profiler_subprovider.ts b/packages/sol-cov/src/profiler_subprovider.ts index 34c125b86..9fd815f07 100644 --- a/packages/sol-cov/src/profiler_subprovider.ts +++ b/packages/sol-cov/src/profiler_subprovider.ts @@ -25,7 +25,7 @@ export class ProfilerSubprovider extends TraceCollectionSubprovider { this._profilerManager = new ProfilerManager(artifactAdapter, isVerbose); } public async handleTraceInfoAsync(traceInfo: TraceInfo): Promise<void> { - await this._profilerManager.computeCoverageAsync(traceInfo); + await this._profilerManager.computeSingleTraceCoverageAsync(traceInfo); } /** * Write the test profiler results to a file in Istanbul format. |