@systemfsoftware/stryker-js 9.0.0 → 10.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/Run.schema-BBKIZ81u.d.mts +165 -0
- package/dist/Run.schema-C0Cxsfe9.mjs +8746 -0
- package/dist/config.d.mts +2 -1
- package/dist/events.d.mts +2 -0
- package/dist/events.mjs +2 -0
- package/dist/{getMachineId-bsd-C6bLIaiv.mjs → getMachineId-bsd-DGLFi8Ia.mjs} +1 -1
- package/dist/{getMachineId-bsd-CXSiHDga.mjs → getMachineId-bsd-YZILidse.mjs} +1 -1
- package/dist/{getMachineId-darwin-DPZ0kdKD.mjs → getMachineId-darwin-B_CgClId.mjs} +1 -1
- package/dist/{getMachineId-darwin-D3cIKeqx.mjs → getMachineId-darwin-Bfwczd9V.mjs} +1 -1
- package/dist/{getMachineId-linux-Ci8OVJU0.mjs → getMachineId-linux-CPAE174r.mjs} +1 -1
- package/dist/{getMachineId-linux-CQwLSlZk.mjs → getMachineId-linux-DprzjpT3.mjs} +1 -1
- package/dist/{getMachineId-unsupported-PX0hnW6X.mjs → getMachineId-unsupported-Ce9f061A.mjs} +1 -1
- package/dist/{getMachineId-unsupported-_ExL3Avl.mjs → getMachineId-unsupported-j7fStyPQ.mjs} +1 -1
- package/dist/{getMachineId-win-D9Tb0p7w.mjs → getMachineId-win-DETv1PQd.mjs} +1 -1
- package/dist/{getMachineId-win-BCsS9pC_.mjs → getMachineId-win-ZJtT3h1l.mjs} +1 -1
- package/dist/{output-mode-CE6VNHfH.d.mts → index-DnAm4mSL.d.mts} +52 -93
- package/dist/index.d.mts +88 -78
- package/dist/index.mjs +3 -2
- package/dist/main.mjs +11105 -10791
- package/dist/{mutation-test.cell-BTa-up9u.d.mts → mutation-test.cell-m9T-X2Qx.d.mts} +11 -126
- package/dist/output-mode-CfGHDpi5.d.mts +17 -0
- package/dist/promises.d.mts +2 -2
- package/dist/promises.mjs +1 -1
- package/dist/src-Bu4i-Lt2.mjs +6600 -0
- package/dist/{wasm-Dr7kZatW.mjs → wasm-Dg4JcQ2d.mjs} +1 -1
- package/package.json +8 -4
- package/dist/src-BQuaL-fB.mjs +0 -15629
package/dist/index.d.mts
CHANGED
|
@@ -28,6 +28,7 @@ import { Schema } from 'effect';
|
|
|
28
28
|
import * as Scope from 'effect/Scope';
|
|
29
29
|
import * as Socket from 'effect/unstable/socket/Socket';
|
|
30
30
|
import * as Stdio from 'effect/Stdio';
|
|
31
|
+
import * as Stream from 'effect/Stream';
|
|
31
32
|
import { YieldableError } from 'effect/Cause';
|
|
32
33
|
|
|
33
34
|
declare interface AccessorProperty$1 extends Span$1 {
|
|
@@ -374,8 +375,8 @@ export declare type CheckerRequest = typeof CheckerRequest.Type;
|
|
|
374
375
|
* which lets the retry combinator prove it handles every one of them.
|
|
375
376
|
*/
|
|
376
377
|
export declare interface CheckerResourceService {
|
|
377
|
-
readonly check: (checkerName: string, mutants: readonly CheckerMutantWire[]) => Effect.Effect<Record<string, CheckResult>, CheckerCrash>;
|
|
378
|
-
readonly group: (checkerName: string, mutants: readonly CheckerMutantWire[]) => Effect.Effect<readonly (readonly string[])[], CheckerCrash>;
|
|
378
|
+
readonly check: (checkerName: string, mutants: readonly CheckerMutantWire[]) => Effect.Effect<Record<string, CheckResult>, CheckerCrash | CheckerFailed>;
|
|
379
|
+
readonly group: (checkerName: string, mutants: readonly CheckerMutantWire[]) => Effect.Effect<readonly (readonly string[])[], CheckerCrash | CheckerFailed>;
|
|
379
380
|
}
|
|
380
381
|
|
|
381
382
|
export declare const checkerRpcFailures: Metric.Counter<number>;
|
|
@@ -390,7 +391,7 @@ declare const CheckerSkippedRequested_base: S.Class<CheckerSkippedRequested, S.T
|
|
|
390
391
|
readonly missingIds: S.$Array<S.String>;
|
|
391
392
|
}>, YieldableError>;
|
|
392
393
|
|
|
393
|
-
export declare const checkGroupedPlans: (checker: CheckerResourceService, checkerName: string, plans: readonly RunPlan[]) => Effect.Effect<readonly (readonly [RunPlan, CheckResult])[], CheckerCrash | CheckerContractBroken>;
|
|
394
|
+
export declare const checkGroupedPlans: (checker: CheckerResourceService, checkerName: string, plans: readonly RunPlan[]) => Effect.Effect<readonly (readonly [RunPlan, CheckResult])[], CheckerCrash | CheckerFailed | CheckerContractBroken>;
|
|
394
395
|
|
|
395
396
|
export declare type CheckResult = FailedCheckResult | PassedCheckResult;
|
|
396
397
|
|
|
@@ -592,7 +593,7 @@ declare const DryRunCompleted_base: S.Class<DryRunCompleted, S.TaggedStruct<"dry
|
|
|
592
593
|
readonly capabilities: S.Struct<{
|
|
593
594
|
readonly reloadEnvironment: S.Boolean;
|
|
594
595
|
}>;
|
|
595
|
-
readonly testCount: S.
|
|
596
|
+
readonly testCount: S.Int;
|
|
596
597
|
readonly tests: S.$Array<S.Union<readonly [S.Struct<{
|
|
597
598
|
readonly id: S.String;
|
|
598
599
|
readonly name: S.String;
|
|
@@ -823,7 +824,7 @@ export declare const FileResultSchema: S.Struct<{
|
|
|
823
824
|
readonly static: S.optional<S.Boolean>;
|
|
824
825
|
readonly coveredBy: S.optional<S.$Array<S.String>>;
|
|
825
826
|
readonly killedBy: S.optional<S.$Array<S.String>>;
|
|
826
|
-
readonly testsCompleted: S.optional<S.
|
|
827
|
+
readonly testsCompleted: S.optional<S.Int>;
|
|
827
828
|
readonly duration: S.optional<S.Finite>;
|
|
828
829
|
}>>;
|
|
829
830
|
}>;
|
|
@@ -959,6 +960,8 @@ declare type ForStatementInit = VariableDeclaration$1 | Expression$1;
|
|
|
959
960
|
|
|
960
961
|
declare type ForStatementLeft = VariableDeclaration$1 | AssignmentTarget;
|
|
961
962
|
|
|
963
|
+
declare type FramedDrain = (framed: Stream.Stream<string, never, never>) => Effect.Effect<void, never, never>;
|
|
964
|
+
|
|
962
965
|
declare interface Function$1 extends Span$1 {
|
|
963
966
|
type: FunctionType;
|
|
964
967
|
id: BindingIdentifier$1 | null;
|
|
@@ -993,8 +996,8 @@ export declare class Heartbeat extends Heartbeat_base {}
|
|
|
993
996
|
|
|
994
997
|
declare const Heartbeat_base: S.Class<Heartbeat, S.TaggedStruct<"tick", {
|
|
995
998
|
readonly elapsedMs: S.Finite;
|
|
996
|
-
readonly completed: S.
|
|
997
|
-
readonly total: S.NullOr<S.
|
|
999
|
+
readonly completed: S.Int;
|
|
1000
|
+
readonly total: S.NullOr<S.Int>;
|
|
998
1001
|
}>, {}>;
|
|
999
1002
|
|
|
1000
1003
|
export declare class HelpRendered extends HelpRendered_base {}
|
|
@@ -1375,6 +1378,8 @@ declare interface LogicalExpression$1 extends Span$1 {
|
|
|
1375
1378
|
|
|
1376
1379
|
declare type LogicalOperator = "||" | "&&" | "??";
|
|
1377
1380
|
|
|
1381
|
+
export declare const makeRunEventStream: (resolved: ResolvedModeInput) => Effect.Effect<RunEventStream, never, Stdio.Stdio | RunEventDrain>;
|
|
1382
|
+
|
|
1378
1383
|
export declare const makeRunLayer: (env: RunEnvironmentShape, events?: Queue.Queue<RunEvent, Cause.Done>) => Layer.Layer<RunStageServices, never, EnginePorts>;
|
|
1379
1384
|
|
|
1380
1385
|
export declare const makeWorkerClient: <Rpcs extends Rpc.Any>(params: WorkerClientParams<Rpcs>) => Effect.Effect<RpcClient.RpcClient<Rpcs, RpcClientError>, WorkerBootError, Scope.Scope | WorkerLauncher>;
|
|
@@ -1423,7 +1428,30 @@ declare type MethodDefinitionKind = "constructor" | "method" | "get" | "set";
|
|
|
1423
1428
|
|
|
1424
1429
|
declare type MethodDefinitionType = "MethodDefinition" | "TSAbstractMethodDefinition";
|
|
1425
1430
|
|
|
1426
|
-
export declare
|
|
1431
|
+
export declare class Metrics extends Metrics_base {
|
|
1432
|
+
get totalDetected(): number;
|
|
1433
|
+
get totalUndetected(): number;
|
|
1434
|
+
get totalCovered(): number;
|
|
1435
|
+
get totalValid(): number;
|
|
1436
|
+
get totalInvalid(): number;
|
|
1437
|
+
get totalMutants(): number;
|
|
1438
|
+
get mutationScore(): number;
|
|
1439
|
+
get mutationScoreBasedOnCoveredCode(): number;
|
|
1440
|
+
static fromMutants(mutants: readonly {
|
|
1441
|
+
readonly status: string;
|
|
1442
|
+
}[]): Metrics;
|
|
1443
|
+
}
|
|
1444
|
+
|
|
1445
|
+
declare const Metrics_base: S.Class<Metrics, S.Struct<{
|
|
1446
|
+
readonly pending: S.Int;
|
|
1447
|
+
readonly killed: S.Int;
|
|
1448
|
+
readonly timeout: S.Int;
|
|
1449
|
+
readonly survived: S.Int;
|
|
1450
|
+
readonly noCoverage: S.Int;
|
|
1451
|
+
readonly runtimeErrors: S.Int;
|
|
1452
|
+
readonly compileErrors: S.Int;
|
|
1453
|
+
readonly ignored: S.Int;
|
|
1454
|
+
}>, {}>;
|
|
1427
1455
|
|
|
1428
1456
|
export declare interface MetricsResult {
|
|
1429
1457
|
readonly name: string;
|
|
@@ -1431,24 +1459,13 @@ export declare interface MetricsResult {
|
|
|
1431
1459
|
readonly childResults: readonly MetricsResult[];
|
|
1432
1460
|
}
|
|
1433
1461
|
|
|
1434
|
-
|
|
1435
|
-
readonly
|
|
1436
|
-
readonly
|
|
1437
|
-
readonly
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
readonly compileErrors: S.Finite;
|
|
1442
|
-
readonly ignored: S.Finite;
|
|
1443
|
-
readonly totalDetected: S.Finite;
|
|
1444
|
-
readonly totalUndetected: S.Finite;
|
|
1445
|
-
readonly totalInvalid: S.Finite;
|
|
1446
|
-
readonly totalValid: S.Finite;
|
|
1447
|
-
readonly totalMutants: S.Finite;
|
|
1448
|
-
readonly totalCovered: S.Finite;
|
|
1449
|
-
readonly mutationScore: S.Finite;
|
|
1450
|
-
readonly mutationScoreBasedOnCoveredCode: S.Finite;
|
|
1451
|
-
}>;
|
|
1462
|
+
declare interface MetricsResultEncoded {
|
|
1463
|
+
readonly name: string;
|
|
1464
|
+
readonly metrics: typeof Metrics.Encoded;
|
|
1465
|
+
readonly childResults: readonly MetricsResultEncoded[];
|
|
1466
|
+
}
|
|
1467
|
+
|
|
1468
|
+
export declare const MetricsSchema: typeof Metrics;
|
|
1452
1469
|
|
|
1453
1470
|
export declare type ModeSignal = 'flag' | 'env' | 'tty' | 'agent' | 'tool';
|
|
1454
1471
|
|
|
@@ -1514,7 +1531,7 @@ export declare const MutantResultSchema: S.Struct<{
|
|
|
1514
1531
|
readonly static: S.optional<S.Boolean>;
|
|
1515
1532
|
readonly coveredBy: S.optional<S.$Array<S.String>>;
|
|
1516
1533
|
readonly killedBy: S.optional<S.$Array<S.String>>;
|
|
1517
|
-
readonly testsCompleted: S.optional<S.
|
|
1534
|
+
readonly testsCompleted: S.optional<S.Int>;
|
|
1518
1535
|
readonly duration: S.optional<S.Finite>;
|
|
1519
1536
|
}>;
|
|
1520
1537
|
|
|
@@ -1551,8 +1568,8 @@ declare const MutantTested_base: S.Class<MutantTested, S.TaggedStruct<"mutantTes
|
|
|
1551
1568
|
}>;
|
|
1552
1569
|
readonly mutator: S.String;
|
|
1553
1570
|
readonly replacement: S.NullOr<S.String>;
|
|
1554
|
-
readonly completed: S.
|
|
1555
|
-
readonly total: S.
|
|
1571
|
+
readonly completed: S.Int;
|
|
1572
|
+
readonly total: S.Int;
|
|
1556
1573
|
}>, {}>;
|
|
1557
1574
|
|
|
1558
1575
|
export declare type MutateDescription = ReadonlyArray<MutationRange> | boolean;
|
|
@@ -1572,7 +1589,7 @@ export declare interface MutationTestDone {
|
|
|
1572
1589
|
export declare class MutationTestingPlanReady extends MutationTestingPlanReady_base {}
|
|
1573
1590
|
|
|
1574
1591
|
declare const MutationTestingPlanReady_base: S.Class<MutationTestingPlanReady, S.TaggedStruct<"mutationTestingPlanReady", {
|
|
1575
|
-
readonly total: S.
|
|
1592
|
+
readonly total: S.Int;
|
|
1576
1593
|
readonly plans: S.$Array<S.Struct<{
|
|
1577
1594
|
readonly mutantId: S.String;
|
|
1578
1595
|
readonly plan: S.Literals<readonly ["EarlyResult", "Run"]>;
|
|
@@ -1609,7 +1626,7 @@ declare const MutationTestReportReady_base: S.Class<MutationTestReportReady, S.T
|
|
|
1609
1626
|
readonly static: S.optional<S.Boolean>;
|
|
1610
1627
|
readonly coveredBy: S.optional<S.$Array<S.String>>;
|
|
1611
1628
|
readonly killedBy: S.optional<S.$Array<S.String>>;
|
|
1612
|
-
readonly testsCompleted: S.optional<S.
|
|
1629
|
+
readonly testsCompleted: S.optional<S.Int>;
|
|
1613
1630
|
readonly duration: S.optional<S.Finite>;
|
|
1614
1631
|
}>>;
|
|
1615
1632
|
}>>;
|
|
@@ -1646,28 +1663,7 @@ declare const MutationTestReportReady_base: S.Class<MutationTestReportReady, S.T
|
|
|
1646
1663
|
readonly dependencies: S.optional<S.$Record<S.String, S.String>>;
|
|
1647
1664
|
}>>;
|
|
1648
1665
|
}>;
|
|
1649
|
-
readonly metrics: S.
|
|
1650
|
-
readonly name: S.String;
|
|
1651
|
-
readonly metrics: S.Struct<{
|
|
1652
|
-
readonly pending: S.Finite;
|
|
1653
|
-
readonly killed: S.Finite;
|
|
1654
|
-
readonly timeout: S.Finite;
|
|
1655
|
-
readonly survived: S.Finite;
|
|
1656
|
-
readonly noCoverage: S.Finite;
|
|
1657
|
-
readonly runtimeErrors: S.Finite;
|
|
1658
|
-
readonly compileErrors: S.Finite;
|
|
1659
|
-
readonly ignored: S.Finite;
|
|
1660
|
-
readonly totalDetected: S.Finite;
|
|
1661
|
-
readonly totalUndetected: S.Finite;
|
|
1662
|
-
readonly totalInvalid: S.Finite;
|
|
1663
|
-
readonly totalValid: S.Finite;
|
|
1664
|
-
readonly totalMutants: S.Finite;
|
|
1665
|
-
readonly totalCovered: S.Finite;
|
|
1666
|
-
readonly mutationScore: S.Finite;
|
|
1667
|
-
readonly mutationScoreBasedOnCoveredCode: S.Finite;
|
|
1668
|
-
}>;
|
|
1669
|
-
readonly childResults: S.$Array<S.suspend<S.Codec<MetricsResult, MetricsResult, never, never>>>;
|
|
1670
|
-
}>;
|
|
1666
|
+
readonly metrics: S.Codec<MetricsResult, MetricsResultEncoded, never, never>;
|
|
1671
1667
|
}>, {}>;
|
|
1672
1668
|
|
|
1673
1669
|
export declare type MutationTestResult = typeof MutationTestResultSchema.Type;
|
|
@@ -1697,7 +1693,7 @@ export declare const MutationTestResultSchema: S.Struct<{
|
|
|
1697
1693
|
readonly static: S.optional<S.Boolean>;
|
|
1698
1694
|
readonly coveredBy: S.optional<S.$Array<S.String>>;
|
|
1699
1695
|
readonly killedBy: S.optional<S.$Array<S.String>>;
|
|
1700
|
-
readonly testsCompleted: S.optional<S.
|
|
1696
|
+
readonly testsCompleted: S.optional<S.Int>;
|
|
1701
1697
|
readonly duration: S.optional<S.Finite>;
|
|
1702
1698
|
}>>;
|
|
1703
1699
|
}>>;
|
|
@@ -1847,7 +1843,7 @@ declare const PhaseEntered_base: S.Class<PhaseEntered, S.TaggedStruct<"phase", {
|
|
|
1847
1843
|
export declare class PlanKnown extends PlanKnown_base {}
|
|
1848
1844
|
|
|
1849
1845
|
declare const PlanKnown_base: S.Class<PlanKnown, S.TaggedStruct<"plan", {
|
|
1850
|
-
readonly total: S.
|
|
1846
|
+
readonly total: S.Int;
|
|
1851
1847
|
}>, {}>;
|
|
1852
1848
|
|
|
1853
1849
|
export declare type PluginDescriptor<K extends PluginKind = PluginKind> = PluginDescriptorOf<K>;
|
|
@@ -2055,6 +2051,11 @@ export declare interface ResolvedMode {
|
|
|
2055
2051
|
readonly stdoutIsTTY: boolean;
|
|
2056
2052
|
}
|
|
2057
2053
|
|
|
2054
|
+
export declare interface ResolvedModeInput {
|
|
2055
|
+
readonly mode: 'machine' | 'human';
|
|
2056
|
+
readonly signal: 'flag' | 'env' | 'tty' | 'agent' | 'tool';
|
|
2057
|
+
}
|
|
2058
|
+
|
|
2058
2059
|
export declare function resolveExitCode(pending: Iterable<ExitClass>, signal: number | null): number;
|
|
2059
2060
|
|
|
2060
2061
|
declare interface ReturnStatement$1 extends Span$1 {
|
|
@@ -2082,10 +2083,35 @@ export declare const RunEvent: S.Union<readonly [typeof RunStarted, typeof Phase
|
|
|
2082
2083
|
|
|
2083
2084
|
export declare type RunEvent = typeof RunEvent.Type;
|
|
2084
2085
|
|
|
2086
|
+
export declare class RunEventDrain extends RunEventDrain_base {}
|
|
2087
|
+
|
|
2088
|
+
declare const RunEventDrain_base: Context.ServiceClass<RunEventDrain, "@systemfsoftware/stryker-js/run-event-stream/RunEventDrain", RunEventDrainShape>;
|
|
2089
|
+
|
|
2090
|
+
export declare const RunEventDrainLive: Layer.Layer<RunEventDrain, never, Stdio.Stdio>;
|
|
2091
|
+
|
|
2092
|
+
declare interface RunEventDrainShape {
|
|
2093
|
+
readonly drainFramed: FramedDrain;
|
|
2094
|
+
readonly setProgressStreamFile: (fileName: string) => Effect.Effect<void, never, never>;
|
|
2095
|
+
}
|
|
2096
|
+
|
|
2085
2097
|
export declare class RunEvents extends RunEvents_base {}
|
|
2086
2098
|
|
|
2087
2099
|
declare const RunEvents_base: Context.ServiceClass<RunEvents, "@systemfsoftware/stryker-js/RunEvents", Queue.Queue<Heartbeat | HelpRendered | PhaseEntered | PlanKnown | RunFailed | RunMutantTested | RunStarted | VerdictReached, Cause.Done<void>>>;
|
|
2088
2100
|
|
|
2101
|
+
export declare interface RunEventStream {
|
|
2102
|
+
readonly queue: Queue.Queue<RunEvent, Cause.Done>;
|
|
2103
|
+
readonly runId: string;
|
|
2104
|
+
readonly startedAt: number;
|
|
2105
|
+
readonly isOpen: Effect.Effect<boolean, never, never>;
|
|
2106
|
+
readonly ensureOpen: (openResolved: ResolvedModeInput) => Effect.Effect<void, never, never>;
|
|
2107
|
+
readonly open: Effect.Effect<void, never, never>;
|
|
2108
|
+
readonly closeAndDrain: Effect.Effect<void, never, never>;
|
|
2109
|
+
}
|
|
2110
|
+
|
|
2111
|
+
export declare const RunEventWireLine: S.decodeTo<S.fromJsonString<S.Union<readonly [typeof RunStarted, typeof PhaseEntered, typeof PlanKnown, typeof RunMutantTested, typeof Heartbeat, typeof VerdictReached, typeof RunFailed, typeof HelpRendered]>>, S.String, never, never>;
|
|
2112
|
+
|
|
2113
|
+
export declare type RunEventWireLine = typeof RunEventWireLine.Type;
|
|
2114
|
+
|
|
2089
2115
|
export declare class RunFailed extends RunFailed_base {}
|
|
2090
2116
|
|
|
2091
2117
|
declare const RunFailed_base: S.Class<RunFailed, S.TaggedStruct<"error", {
|
|
@@ -2131,8 +2157,8 @@ declare const RunMutantTested_base: S.Class<RunMutantTested, S.TaggedStruct<"mut
|
|
|
2131
2157
|
}>;
|
|
2132
2158
|
readonly mutator: S.String;
|
|
2133
2159
|
readonly replacement: S.NullOr<S.String>;
|
|
2134
|
-
readonly completed: S.
|
|
2135
|
-
readonly total: S.
|
|
2160
|
+
readonly completed: S.Int;
|
|
2161
|
+
readonly total: S.Int;
|
|
2136
2162
|
}>, {}>;
|
|
2137
2163
|
|
|
2138
2164
|
export declare interface RunOptions {
|
|
@@ -2164,6 +2190,8 @@ declare const RunStarted_base: S.Class<RunStarted, S.TaggedStruct<"stream", {
|
|
|
2164
2190
|
|
|
2165
2191
|
export declare type RunTerminalEvent = VerdictReached | RunFailed | HelpRendered;
|
|
2166
2192
|
|
|
2193
|
+
export { S }
|
|
2194
|
+
|
|
2167
2195
|
export declare interface SandboxHandle {
|
|
2168
2196
|
readonly workingDirectory: string;
|
|
2169
2197
|
readonly sandboxFileFor: (fileName: string) => string;
|
|
@@ -3089,16 +3117,7 @@ declare interface VariableDeclarator$1 extends Span$1 {
|
|
|
3089
3117
|
|
|
3090
3118
|
export declare const VERDICT_ENVELOPE_SCHEMA_VERSION = "1.1";
|
|
3091
3119
|
|
|
3092
|
-
export declare
|
|
3093
|
-
readonly killed: number;
|
|
3094
|
-
readonly timeout: number;
|
|
3095
|
-
readonly survived: number;
|
|
3096
|
-
readonly noCoverage: number;
|
|
3097
|
-
readonly runtimeErrors: number;
|
|
3098
|
-
readonly compileErrors: number;
|
|
3099
|
-
readonly ignored: number;
|
|
3100
|
-
readonly pending: number;
|
|
3101
|
-
}
|
|
3120
|
+
export declare type VerdictCounts = Metrics;
|
|
3102
3121
|
|
|
3103
3122
|
export declare interface VerdictEnvelope {
|
|
3104
3123
|
readonly schemaVersion: string;
|
|
@@ -3107,7 +3126,7 @@ export declare interface VerdictEnvelope {
|
|
|
3107
3126
|
readonly signal: ModeSignal;
|
|
3108
3127
|
readonly score: number | null;
|
|
3109
3128
|
readonly thresholds: VerdictThresholds;
|
|
3110
|
-
readonly counts:
|
|
3129
|
+
readonly counts: Metrics;
|
|
3111
3130
|
readonly reportFile: string | null;
|
|
3112
3131
|
readonly mutants: readonly VerdictMutant[];
|
|
3113
3132
|
}
|
|
@@ -3137,16 +3156,7 @@ declare const VerdictReached_base: S.Class<VerdictReached, S.TaggedStruct<"verdi
|
|
|
3137
3156
|
readonly break: S.NullOr<S.Finite>;
|
|
3138
3157
|
}>;
|
|
3139
3158
|
readonly reportFile: S.NullOr<S.String>;
|
|
3140
|
-
readonly counts:
|
|
3141
|
-
readonly killed: S.Finite;
|
|
3142
|
-
readonly timeout: S.Finite;
|
|
3143
|
-
readonly survived: S.Finite;
|
|
3144
|
-
readonly noCoverage: S.Finite;
|
|
3145
|
-
readonly runtimeErrors: S.Finite;
|
|
3146
|
-
readonly compileErrors: S.Finite;
|
|
3147
|
-
readonly ignored: S.Finite;
|
|
3148
|
-
readonly pending: S.Finite;
|
|
3149
|
-
}>;
|
|
3159
|
+
readonly counts: typeof Metrics;
|
|
3150
3160
|
readonly mutants: S.$Array<S.Struct<{
|
|
3151
3161
|
readonly id: S.String;
|
|
3152
3162
|
readonly file: S.String;
|
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
|
|
1
|
+
import { $ as WorkerPluginKind, A as MetricsSchema, B as ReporterEventBatch, C as CheckerRequest, D as FileResultSchema, E as ExitClass, F as MutationTestingPlanReady, H as ReporterInitOptions, M as MutantTested, N as MutationTestReportReady, P as MutationTestResultSchema, R as ReporterAck, S as CheckerMutantWire, T as DryRunCompleted, U as ReporterRpcs, W as StrykerOptionsSchema, X as TraceContextMiddleware, _ as RunStarted, at as LocationSchema, b as CheckerFailed, c as PhaseEntered, ct as MutantStatusSchema, h as RunPhase, i as HelpRendered, j as MutantResultSchema, l as PlanKnown, lt as PositionSchema, m as RunMutantTested, n as StageError, p as RunFailed, q as TestRunnerConfigSchema, r as Heartbeat, st as MutantActivationSchema, v as VerdictReached, w as CheckerRpcs, x as CheckerGroupResult, y as CheckerCheckResult, z as ReporterDrained } from "./Run.schema-C0Cxsfe9.mjs";
|
|
2
|
+
import { $ as validateOptions, A as strykerVersion, At as MergeResult, B as optionsPath, C as checkerMutantsSkipped, Ct as ExtendsStepDone, D as CheckerSkippedRequested, Dt as ExtendsStepStateSchema, E as CheckerAnsweredUnrequested, Et as ExtendsStepResolve, F as deepFreeze, Ft as toRelativeNormalizedFileName, G as decideExtendsStep, H as REPORTER_EVENT_BATCH_BOUND, I as defaultOptions, It as RunEvents, J as importModule, K as describeErrors, L as findUnserializables, Lt as RunIdentity, M as CONFIG_SYNTAX_HELP, Mt as extendsPropertySchema, N as SUPPORTED_CONFIG_FILE_NAMES, Nt as forkOptionsSchema, O as createFileMatcher, Ot as ImportedModuleSchema, P as createDefaultOptions, Pt as survivorsPriorReport, Q as readConfig, R as isModuleSpecifier, Rt as RunEventWireLine, S as checkerMutantsChecked, St as ExtendsStepDocumentSchema, T as checkerRpcFailures, Tt as ExtendsStepRefused, U as reporterWorkerFactory, V as RunEnvironment, W as spawnReporterWorker, X as loadConfigCell, Y as initialExtendsStepState, Z as mergeConfigs, _ as verdictExitClass, _t as ConfigError, a as RUN_EVENTS_QUEUE_BOUND, at as IdGenerator, b as checkGroupedPlans, bt as ConfigFileUnreadableError, c as shouldKeepTempDir, ct as OutOfMemoryError, d as buildVerdictEnvelope, dt as isVmRunner, et as buildTestRunner, f as generateRunId, ft as vmRunnerCapabilities, g as resolveExitCode, gt as ConfigDocumentSchema, h as highestExitClass, ht as StrykerError, i as makeRunEventStream, it as makeWorkerClient, j as IncrementalReportSchema, jt as ReadConfigCommand, k as matchesFile, kt as MergeCommand, l as ACTIONABLE_STATUSES, lt as WorkerBootTimeoutError, m as EXIT_CODE, mt as vmTestRunner, n as RunEventDrain, nt as WorkerLauncher, o as makeRunLayer, ot as classifyWorkerExit, p as isActionableStatus, pt as vmRunnerName, q as forkCoreSchema, r as RunEventDrainLive, rt as connectRetry, s as mutationTestCell, st as ChildProcessCrashedError, t as strykerCell, tt as isCommandRunner, u as VERDICT_ENVELOPE_SCHEMA_VERSION, ut as VmRunner, v as calculateMetrics, vt as ConfigFileInvalidError, w as checkerProcessCrashes, wt as ExtendsStepRead, x as checkerDuration, xt as ConfigFileUnsupportedError, y as countMutants, yt as ConfigFileNotFoundError, z as isWarningEnabled, zt as S } from "./src-Bu4i-Lt2.mjs";
|
|
3
|
+
export { ACTIONABLE_STATUSES, CONFIG_SYNTAX_HELP, CheckerAnsweredUnrequested, CheckerCheckResult, CheckerFailed, CheckerGroupResult, CheckerMutantWire, CheckerRequest, CheckerRpcs, CheckerSkippedRequested, ChildProcessCrashedError, ConfigDocumentSchema, ConfigError, ConfigFileInvalidError, ConfigFileNotFoundError, ConfigFileUnreadableError, ConfigFileUnsupportedError, DryRunCompleted, EXIT_CODE, ExitClass, ExtendsStepDocumentSchema, ExtendsStepDone, ExtendsStepRead, ExtendsStepRefused, ExtendsStepResolve, ExtendsStepStateSchema, FileResultSchema, Heartbeat, HelpRendered, IdGenerator, ImportedModuleSchema, IncrementalReportSchema, LocationSchema, MergeCommand, MergeResult, MetricsSchema, MutantActivationSchema, MutantResultSchema, MutantStatusSchema, MutantTested, MutationTestReportReady, MutationTestResultSchema, MutationTestingPlanReady, OutOfMemoryError, PhaseEntered, PlanKnown, PositionSchema, REPORTER_EVENT_BATCH_BOUND, RUN_EVENTS_QUEUE_BOUND, ReadConfigCommand, ReporterAck, ReporterDrained, ReporterEventBatch, ReporterInitOptions, ReporterRpcs, RunEnvironment, RunEventDrain, RunEventDrainLive, RunEventWireLine, RunEvents, RunFailed, RunIdentity, RunMutantTested, RunPhase, RunStarted, S, SUPPORTED_CONFIG_FILE_NAMES, StageError, StrykerError, StrykerOptionsSchema, TestRunnerConfigSchema, TraceContextMiddleware, VERDICT_ENVELOPE_SCHEMA_VERSION, VerdictReached, VmRunner, WorkerBootTimeoutError, WorkerLauncher, WorkerPluginKind, buildTestRunner, buildVerdictEnvelope, calculateMetrics, checkGroupedPlans, checkerDuration, checkerMutantsChecked, checkerMutantsSkipped, checkerProcessCrashes, checkerRpcFailures, classifyWorkerExit, connectRetry, countMutants, createDefaultOptions, createFileMatcher, decideExtendsStep, deepFreeze, defaultOptions, describeErrors, extendsPropertySchema, findUnserializables, forkCoreSchema, forkOptionsSchema, generateRunId, highestExitClass, importModule, initialExtendsStepState, isActionableStatus, isCommandRunner, isModuleSpecifier, isVmRunner, isWarningEnabled, loadConfigCell, makeRunEventStream, makeRunLayer, makeWorkerClient, matchesFile, mergeConfigs, mutationTestCell, optionsPath, readConfig, reporterWorkerFactory, resolveExitCode, shouldKeepTempDir, spawnReporterWorker, strykerCell, strykerVersion, survivorsPriorReport, toRelativeNormalizedFileName, validateOptions, verdictExitClass, vmRunnerCapabilities, vmRunnerName, vmTestRunner };
|