@web/test-runner-core
Advanced tools
Comparing version 0.6.16 to 0.6.17
# @web/test-runner-core | ||
## 0.6.17 | ||
### Patch Changes | ||
- 3757865: add more args to test reporter callbacks | ||
## 0.6.16 | ||
@@ -4,0 +10,0 @@ |
@@ -20,9 +20,6 @@ import { TestSession } from '../test-session/TestSession'; | ||
export interface GetTestProgressArgs { | ||
config: TestRunnerCoreConfig; | ||
sessions: TestSession[]; | ||
startTime: number; | ||
testRun: number; | ||
focusedTestFile?: string; | ||
testCoverage?: TestCoverage; | ||
testFiles: string[]; | ||
} | ||
@@ -35,3 +32,11 @@ export interface TestRunArgs { | ||
export interface TestRunFinishedArgs extends TestRunArgs { | ||
sessions: TestSession[]; | ||
testCoverage?: TestCoverage; | ||
focusedTestFile?: string; | ||
} | ||
export interface StopArgs { | ||
sessions: TestSession[]; | ||
testCoverage?: TestCoverage; | ||
focusedTestFile?: string; | ||
} | ||
export interface ReporterConstructor { | ||
@@ -44,5 +49,5 @@ } | ||
onTestRunFinished?(args: TestRunFinishedArgs): void; | ||
start?(args: ReporterArgs): void | undefined; | ||
stop?(): void | undefined; | ||
start?(args: ReporterArgs): void | Promise<void>; | ||
stop?(args: StopArgs): void | Promise<void>; | ||
} | ||
//# sourceMappingURL=Reporter.d.ts.map |
{ | ||
"name": "@web/test-runner-core", | ||
"version": "0.6.16", | ||
"version": "0.6.17", | ||
"publishConfig": { | ||
@@ -5,0 +5,0 @@ "access": "public" |
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
77635
930