@web/test-runner-core
Advanced tools
Comparing version 0.2.5 to 0.2.6
# @web/test-runner-core | ||
## 0.2.6 | ||
### Patch Changes | ||
- 4d0d854: write test coverage details | ||
## 0.2.5 | ||
@@ -4,0 +10,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { CoverageSummaryData } from 'istanbul-lib-coverage'; | ||
import { CoverageSummaryData, CoverageMap } from 'istanbul-lib-coverage'; | ||
import { TestSession } from '../test-session/TestSession'; | ||
@@ -7,2 +7,3 @@ import { CoverageThresholdConfig } from '../runner/TestRunnerConfig'; | ||
passed: boolean; | ||
coverageMap: CoverageMap; | ||
summary: CoverageSummaryData; | ||
@@ -9,0 +10,0 @@ } |
@@ -23,9 +23,9 @@ "use strict"; | ||
if (pct < coverageThreshold[type]) { | ||
return { summary, passed: false }; | ||
return { coverageMap, summary, passed: false }; | ||
} | ||
} | ||
} | ||
return { summary, passed: true }; | ||
return { coverageMap, summary, passed: true }; | ||
} | ||
exports.getTestCoverage = getTestCoverage; | ||
//# sourceMappingURL=getTestCoverage.js.map |
@@ -13,2 +13,4 @@ import { BrowserLauncher } from '../browser-launcher/BrowserLauncher.js'; | ||
threshold?: CoverageThresholdConfig; | ||
report: boolean; | ||
reportDir: string; | ||
} | ||
@@ -15,0 +17,0 @@ export interface TestRunnerConfig { |
{ | ||
"name": "@web/test-runner-core", | ||
"version": "0.2.5", | ||
"version": "0.2.6", | ||
"publishConfig": { | ||
@@ -5,0 +5,0 @@ "access": "public" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
53797
663