@systemfsoftware/stryker-js 9.0.0 → 10.0.1
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 +18 -0
- package/dist/Run.schema-CgVfoOfk.mjs +8756 -0
- package/dist/Run.schema-t292QQGe.d.mts +173 -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-D_mcApox.d.mts} +96 -103
- package/dist/index.d.mts +136 -90
- package/dist/index.mjs +3 -2
- package/dist/main.mjs +14736 -16986
- package/dist/{mutation-test.cell-BTa-up9u.d.mts → mutation-test.cell-Dp6QiuRg.d.mts} +23 -130
- package/dist/output-mode-CfGHDpi5.d.mts +17 -0
- package/dist/parser.wasm32-wasi.wasm +0 -0
- package/dist/promises.d.mts +2 -2
- package/dist/promises.mjs +1 -1
- package/dist/src-CMHnl87m.mjs +6452 -0
- package/dist/{src-js-DRK8boNV.mjs → src-js-CvBdbRpe.mjs} +129 -56
- package/dist/{wasm-Dr7kZatW.mjs → wasm-klkEDrvQ.mjs} +4545 -4335
- package/package.json +27 -23
- package/dist/src-BQuaL-fB.mjs +0 -15629
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
import { C as Metrics, _ as ExitClass } from "./index-D_mcApox.mjs";
|
|
2
|
+
import * as S from "effect/Schema";
|
|
3
|
+
//#region src/RunEvent.schema.d.ts
|
|
4
|
+
declare const RunPhase: S.Literals<readonly ["prepare", "instrument", "dry-run", "mutation-test"]>;
|
|
5
|
+
type RunPhase = typeof RunPhase.Type;
|
|
6
|
+
declare const OutputMode: S.Literals<readonly ["human", "machine"]>;
|
|
7
|
+
type OutputMode = typeof OutputMode.Type;
|
|
8
|
+
declare const ModeSignal: S.Literals<readonly ["flag", "env", "tty", "agent", "tool"]>;
|
|
9
|
+
type ModeSignal = typeof ModeSignal.Type;
|
|
10
|
+
declare const RunStarted_base: S.Class<RunStarted, S.TaggedStruct<"stream", {
|
|
11
|
+
readonly schemaVersion: S.String;
|
|
12
|
+
readonly runId: S.String;
|
|
13
|
+
readonly mode: S.Literals<readonly ["human", "machine"]>;
|
|
14
|
+
readonly signal: S.Literals<readonly ["flag", "env", "tty", "agent", "tool"]>;
|
|
15
|
+
}>, {}>;
|
|
16
|
+
declare class RunStarted extends RunStarted_base {}
|
|
17
|
+
declare const PhaseEntered_base: S.Class<PhaseEntered, S.TaggedStruct<"phase", {
|
|
18
|
+
readonly phase: S.Literals<readonly ["prepare", "instrument", "dry-run", "mutation-test"]>;
|
|
19
|
+
readonly elapsedMs: S.Finite;
|
|
20
|
+
}>, {}>;
|
|
21
|
+
declare class PhaseEntered extends PhaseEntered_base {}
|
|
22
|
+
declare const PlanKnown_base: S.Class<PlanKnown, S.TaggedStruct<"plan", {
|
|
23
|
+
readonly total: S.Int;
|
|
24
|
+
}>, {}>;
|
|
25
|
+
declare class PlanKnown extends PlanKnown_base {}
|
|
26
|
+
declare const RunMutantTested_base: S.Class<RunMutantTested, S.TaggedStruct<"mutant", {
|
|
27
|
+
readonly id: S.String;
|
|
28
|
+
readonly status: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>;
|
|
29
|
+
readonly file: S.String;
|
|
30
|
+
readonly location: S.Struct<{
|
|
31
|
+
readonly start: S.Struct<{
|
|
32
|
+
readonly line: S.Finite;
|
|
33
|
+
readonly column: S.Finite;
|
|
34
|
+
}>;
|
|
35
|
+
readonly end: S.Struct<{
|
|
36
|
+
readonly line: S.Finite;
|
|
37
|
+
readonly column: S.Finite;
|
|
38
|
+
}>;
|
|
39
|
+
}>;
|
|
40
|
+
readonly mutator: S.String;
|
|
41
|
+
readonly replacement: S.NullOr<S.String>;
|
|
42
|
+
readonly completed: S.Int;
|
|
43
|
+
readonly total: S.Int;
|
|
44
|
+
}>, {}>;
|
|
45
|
+
declare class RunMutantTested extends RunMutantTested_base {}
|
|
46
|
+
declare const Heartbeat_base: S.Class<Heartbeat, S.TaggedStruct<"tick", {
|
|
47
|
+
readonly elapsedMs: S.Finite;
|
|
48
|
+
readonly completed: S.Int;
|
|
49
|
+
readonly total: S.NullOr<S.Int>;
|
|
50
|
+
}>, {}>;
|
|
51
|
+
declare class Heartbeat extends Heartbeat_base {}
|
|
52
|
+
declare const VerdictThresholdsValuesSchema: S.Struct<{
|
|
53
|
+
readonly high: S.Finite;
|
|
54
|
+
readonly low: S.Finite;
|
|
55
|
+
readonly break: S.NullOr<S.Finite>;
|
|
56
|
+
}>;
|
|
57
|
+
type VerdictThresholds = typeof VerdictThresholdsValuesSchema.Type;
|
|
58
|
+
declare const VerdictMutant: S.Struct<{
|
|
59
|
+
readonly id: S.String;
|
|
60
|
+
readonly file: S.String;
|
|
61
|
+
readonly location: S.Struct<{
|
|
62
|
+
readonly start: S.Struct<{
|
|
63
|
+
readonly line: S.Finite;
|
|
64
|
+
readonly column: S.Finite;
|
|
65
|
+
}>;
|
|
66
|
+
readonly end: S.Struct<{
|
|
67
|
+
readonly line: S.Finite;
|
|
68
|
+
readonly column: S.Finite;
|
|
69
|
+
}>;
|
|
70
|
+
}>;
|
|
71
|
+
readonly mutator: S.String;
|
|
72
|
+
readonly replacement: S.NullOr<S.String>;
|
|
73
|
+
readonly status: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>;
|
|
74
|
+
}>;
|
|
75
|
+
type VerdictMutant = typeof VerdictMutant.Type;
|
|
76
|
+
type VerdictCounts = Metrics;
|
|
77
|
+
declare const VerdictReached_base: S.Class<VerdictReached, S.TaggedStruct<"verdict", {
|
|
78
|
+
readonly schemaVersion: S.String;
|
|
79
|
+
readonly runId: S.String;
|
|
80
|
+
readonly mode: S.Literals<readonly ["human", "machine"]>;
|
|
81
|
+
readonly signal: S.Literals<readonly ["flag", "env", "tty", "agent", "tool"]>;
|
|
82
|
+
readonly score: S.NullOr<S.Finite>;
|
|
83
|
+
readonly thresholds: S.decodeTo<S.declare<{
|
|
84
|
+
readonly high: number;
|
|
85
|
+
readonly low: number;
|
|
86
|
+
readonly break: number | null;
|
|
87
|
+
}, {
|
|
88
|
+
readonly high: number;
|
|
89
|
+
readonly low: number;
|
|
90
|
+
readonly break: number | null;
|
|
91
|
+
}>, S.Struct<{
|
|
92
|
+
readonly high: S.Finite;
|
|
93
|
+
readonly low: S.Finite;
|
|
94
|
+
readonly break: S.NullOr<S.Finite>;
|
|
95
|
+
}>, never, never>;
|
|
96
|
+
readonly reportFile: S.NullOr<S.String>;
|
|
97
|
+
readonly counts: typeof Metrics;
|
|
98
|
+
readonly mutants: S.$Array<S.Struct<{
|
|
99
|
+
readonly id: S.String;
|
|
100
|
+
readonly file: S.String;
|
|
101
|
+
readonly location: S.Struct<{
|
|
102
|
+
readonly start: S.Struct<{
|
|
103
|
+
readonly line: S.Finite;
|
|
104
|
+
readonly column: S.Finite;
|
|
105
|
+
}>;
|
|
106
|
+
readonly end: S.Struct<{
|
|
107
|
+
readonly line: S.Finite;
|
|
108
|
+
readonly column: S.Finite;
|
|
109
|
+
}>;
|
|
110
|
+
}>;
|
|
111
|
+
readonly mutator: S.String;
|
|
112
|
+
readonly replacement: S.NullOr<S.String>;
|
|
113
|
+
readonly status: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>;
|
|
114
|
+
}>>;
|
|
115
|
+
}>, {}>;
|
|
116
|
+
declare class VerdictReached extends VerdictReached_base {}
|
|
117
|
+
declare const RunFailed_base: S.Class<RunFailed, S.TaggedStruct<"error", {
|
|
118
|
+
readonly schemaVersion: S.String;
|
|
119
|
+
readonly code: S.Finite;
|
|
120
|
+
readonly error: S.String;
|
|
121
|
+
readonly remediation: S.String;
|
|
122
|
+
}>, {}>;
|
|
123
|
+
declare class RunFailed extends RunFailed_base {}
|
|
124
|
+
declare const HelpRendered_base: S.Class<HelpRendered, S.TaggedStruct<"help", {
|
|
125
|
+
readonly schemaVersion: S.String;
|
|
126
|
+
readonly code: S.Literals<readonly [0]>;
|
|
127
|
+
readonly help: S.String;
|
|
128
|
+
}>, {}>;
|
|
129
|
+
declare class HelpRendered extends HelpRendered_base {}
|
|
130
|
+
declare const RunEvent: S.Union<readonly [typeof RunStarted, typeof PhaseEntered, typeof PlanKnown, typeof RunMutantTested, typeof Heartbeat, typeof VerdictReached, typeof RunFailed, typeof HelpRendered]>;
|
|
131
|
+
type RunEvent = typeof RunEvent.Type;
|
|
132
|
+
type RunTerminalEvent = VerdictReached | RunFailed | HelpRendered;
|
|
133
|
+
declare const RunDecodeError_base: S.Class<RunDecodeError, S.TaggedStruct<"RunDecodeError", {
|
|
134
|
+
readonly message: S.String;
|
|
135
|
+
}>, import("effect/Cause").YieldableError>;
|
|
136
|
+
declare class RunDecodeError extends RunDecodeError_base {}
|
|
137
|
+
declare const RunReadError_base: S.Class<RunReadError, S.TaggedStruct<"RunReadError", {
|
|
138
|
+
readonly message: S.String;
|
|
139
|
+
}>, import("effect/Cause").YieldableError>;
|
|
140
|
+
declare class RunReadError extends RunReadError_base {}
|
|
141
|
+
declare const PlanMutationRunCommand_base: S.Class<PlanMutationRunCommand, S.TaggedStruct<"PlanMutationRunCommand", {
|
|
142
|
+
readonly configMutatePatterns: S.$Array<S.String>;
|
|
143
|
+
readonly configMutatorNames: S.$Array<S.String>;
|
|
144
|
+
readonly targetMutatePatterns: S.$Array<S.String>;
|
|
145
|
+
readonly availableMutators: S.$Array<S.String>;
|
|
146
|
+
}>, {}>;
|
|
147
|
+
declare class PlanMutationRunCommand extends PlanMutationRunCommand_base {}
|
|
148
|
+
declare const MutationRunPlan_base: S.Class<MutationRunPlan, S.TaggedStruct<"MutationRunPlan", {
|
|
149
|
+
readonly mutatePatterns: S.$Array<S.String>;
|
|
150
|
+
readonly mutatorNames: S.$Array<S.String>;
|
|
151
|
+
}>, {}>;
|
|
152
|
+
declare class MutationRunPlan extends MutationRunPlan_base {}
|
|
153
|
+
//#endregion
|
|
154
|
+
//#region src/Run.schema.d.ts
|
|
155
|
+
declare const TypeId: '~stryker/mutation-run/StageError';
|
|
156
|
+
declare const StageError_base: S.Class<StageError, S.TaggedStruct<"StageError", {
|
|
157
|
+
readonly stage: S.Literals<readonly ["prepare", "instrument", "dryRun", "dryRunNoTests", "mutationTest"]>;
|
|
158
|
+
readonly reason: S.String;
|
|
159
|
+
readonly cause: S.optional<S.Defect>;
|
|
160
|
+
readonly command: S.optional<S.String>;
|
|
161
|
+
}>, import("effect/Cause").YieldableError>;
|
|
162
|
+
declare class StageError extends StageError_base {
|
|
163
|
+
readonly [TypeId]: "~stryker/mutation-run/StageError";
|
|
164
|
+
get exitClass(): ExitClass;
|
|
165
|
+
get message(): string;
|
|
166
|
+
}
|
|
167
|
+
declare const PrepareError_base: S.Class<PrepareError, S.TaggedStruct<"PrepareError", {
|
|
168
|
+
readonly stage: S.Literal<"prepare">;
|
|
169
|
+
readonly reason: S.String;
|
|
170
|
+
}>, import("effect/Cause").YieldableError>;
|
|
171
|
+
declare class PrepareError extends PrepareError_base {}
|
|
172
|
+
//#endregion
|
|
173
|
+
export { VerdictThresholds as S, RunStarted as _, ModeSignal as a, VerdictMutant as b, PhaseEntered as c, RunDecodeError as d, RunEvent as f, RunReadError as g, RunPhase as h, HelpRendered as i, PlanKnown as l, RunMutantTested as m, StageError as n, MutationRunPlan as o, RunFailed as p, Heartbeat as r, OutputMode as s, PrepareError as t, PlanMutationRunCommand as u, RunTerminalEvent as v, VerdictReached as x, VerdictCounts as y };
|
package/dist/config.d.mts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { K as StrykerOptions, P as PartialStrykerOptions } from "./index-D_mcApox.mjs";
|
|
2
|
+
import { n as OutputMode } from "./output-mode-CfGHDpi5.mjs";
|
|
2
3
|
//#region src/config/stryker-config.d.ts
|
|
3
4
|
interface ConfigEnv {
|
|
4
5
|
readonly command: 'run' | 'merge-reports';
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { S as VerdictThresholds, _ as RunStarted, a as ModeSignal, b as VerdictMutant, c as PhaseEntered, d as RunDecodeError, f as RunEvent, g as RunReadError, h as RunPhase, i as HelpRendered, l as PlanKnown, m as RunMutantTested, n as StageError, o as MutationRunPlan, p as RunFailed, r as Heartbeat, s as OutputMode, t as PrepareError, u as PlanMutationRunCommand, x as VerdictReached, y as VerdictCounts } from "./Run.schema-t292QQGe.mjs";
|
|
2
|
+
export { Heartbeat, HelpRendered, ModeSignal, MutationRunPlan, OutputMode, PhaseEntered, PlanKnown, PlanMutationRunCommand, PrepareError, RunDecodeError, RunEvent, RunFailed, RunMutantTested, RunPhase, RunReadError, RunStarted, StageError, type VerdictCounts, type VerdictMutant, VerdictReached, type VerdictThresholds };
|
package/dist/events.mjs
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { _ as RunStarted, a as ModeSignal, c as PhaseEntered, d as RunDecodeError, f as RunEvent, g as RunReadError, h as RunPhase, i as HelpRendered, l as PlanKnown, m as RunMutantTested, n as StageError, o as MutationRunPlan, p as RunFailed, r as Heartbeat, s as OutputMode, t as PrepareError, u as PlanMutationRunCommand, v as VerdictReached } from "./Run.schema-CgVfoOfk.mjs";
|
|
2
|
+
export { Heartbeat, HelpRendered, ModeSignal, MutationRunPlan, OutputMode, PhaseEntered, PlanKnown, PlanMutationRunCommand, PrepareError, RunDecodeError, RunEvent, RunFailed, RunMutantTested, RunPhase, RunReadError, RunStarted, StageError, VerdictReached };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as __require, o as __toCommonJS, t as __commonJSMin } from "./rolldown-runtime-Dr7-SnC6.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { n as init_esm, t as esm_exports } from "./main.mjs";
|
|
3
3
|
import { t as require_execAsync } from "./execAsync-DdCu5QLN.mjs";
|
|
4
4
|
//#region ../../node_modules/.pnpm/@opentelemetry+resources@2.11.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/getMachineId-bsd.js
|
|
5
5
|
var require_getMachineId_bsd = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as __require, o as __toCommonJS, t as __commonJSMin } from "./rolldown-runtime-Dr7-SnC6.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { n as init_esm, t as esm_exports } from "./main.mjs";
|
|
3
3
|
import { t as require_execAsync } from "./execAsync-CfPZgJSD.mjs";
|
|
4
4
|
//#region ../../node_modules/.pnpm/@opentelemetry+resources@2.2.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/getMachineId-bsd.js
|
|
5
5
|
var require_getMachineId_bsd = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { o as __toCommonJS, t as __commonJSMin } from "./rolldown-runtime-Dr7-SnC6.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { n as init_esm, t as esm_exports } from "./main.mjs";
|
|
3
3
|
import { t as require_execAsync } from "./execAsync-CfPZgJSD.mjs";
|
|
4
4
|
//#region ../../node_modules/.pnpm/@opentelemetry+resources@2.2.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/getMachineId-darwin.js
|
|
5
5
|
var require_getMachineId_darwin = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { o as __toCommonJS, t as __commonJSMin } from "./rolldown-runtime-Dr7-SnC6.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { n as init_esm, t as esm_exports } from "./main.mjs";
|
|
3
3
|
import { t as require_execAsync } from "./execAsync-DdCu5QLN.mjs";
|
|
4
4
|
//#region ../../node_modules/.pnpm/@opentelemetry+resources@2.11.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/getMachineId-darwin.js
|
|
5
5
|
var require_getMachineId_darwin = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as __require, o as __toCommonJS, t as __commonJSMin } from "./rolldown-runtime-Dr7-SnC6.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { n as init_esm, t as esm_exports } from "./main.mjs";
|
|
3
3
|
//#region ../../node_modules/.pnpm/@opentelemetry+resources@2.11.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/getMachineId-linux.js
|
|
4
4
|
var require_getMachineId_linux = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as __require, o as __toCommonJS, t as __commonJSMin } from "./rolldown-runtime-Dr7-SnC6.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { n as init_esm, t as esm_exports } from "./main.mjs";
|
|
3
3
|
//#region ../../node_modules/.pnpm/@opentelemetry+resources@2.2.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/getMachineId-linux.js
|
|
4
4
|
var require_getMachineId_linux = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
package/dist/{getMachineId-unsupported-PX0hnW6X.mjs → getMachineId-unsupported-Ce9f061A.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { o as __toCommonJS, t as __commonJSMin } from "./rolldown-runtime-Dr7-SnC6.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { n as init_esm, t as esm_exports } from "./main.mjs";
|
|
3
3
|
//#region ../../node_modules/.pnpm/@opentelemetry+resources@2.2.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/getMachineId-unsupported.js
|
|
4
4
|
var require_getMachineId_unsupported = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
package/dist/{getMachineId-unsupported-_ExL3Avl.mjs → getMachineId-unsupported-j7fStyPQ.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { o as __toCommonJS, t as __commonJSMin } from "./rolldown-runtime-Dr7-SnC6.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { n as init_esm, t as esm_exports } from "./main.mjs";
|
|
3
3
|
//#region ../../node_modules/.pnpm/@opentelemetry+resources@2.11.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/getMachineId-unsupported.js
|
|
4
4
|
var require_getMachineId_unsupported = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as __require, o as __toCommonJS, t as __commonJSMin } from "./rolldown-runtime-Dr7-SnC6.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { n as init_esm, t as esm_exports } from "./main.mjs";
|
|
3
3
|
import { t as require_execAsync } from "./execAsync-CfPZgJSD.mjs";
|
|
4
4
|
//#region ../../node_modules/.pnpm/@opentelemetry+resources@2.2.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/getMachineId-win.js
|
|
5
5
|
var require_getMachineId_win = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as __require, o as __toCommonJS, t as __commonJSMin } from "./rolldown-runtime-Dr7-SnC6.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { n as init_esm, t as esm_exports } from "./main.mjs";
|
|
3
3
|
import { t as require_execAsync } from "./execAsync-DdCu5QLN.mjs";
|
|
4
4
|
//#region ../../node_modules/.pnpm/@opentelemetry+resources@2.11.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/getMachineId-win.js
|
|
5
5
|
var require_getMachineId_win = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as Effect$1 from "effect/Effect";
|
|
2
|
-
import * as
|
|
2
|
+
import * as Context from "effect/Context";
|
|
3
3
|
import * as Option from "effect/Option";
|
|
4
|
+
import * as S from "effect/Schema";
|
|
4
5
|
import { Schema } from "effect";
|
|
5
|
-
import * as Context from "effect/Context";
|
|
6
6
|
import * as Rpc from "effect/unstable/rpc/Rpc";
|
|
7
7
|
import * as RpcGroup from "effect/unstable/rpc/RpcGroup";
|
|
8
8
|
import * as RpcMiddleware from "effect/unstable/rpc/RpcMiddleware";
|
|
9
|
-
import { YieldableError } from "effect/Cause";
|
|
10
9
|
import * as HashMap from "effect/HashMap";
|
|
10
|
+
import { YieldableError } from "effect/Cause";
|
|
11
11
|
import { StandardSchemaV1 } from "effect/StandardSchema";
|
|
12
12
|
declare namespace index_d_exports$1 {
|
|
13
13
|
export { Coverage, CoverageData, CoveragePerTestId, ERROR_CODES, EarlyResultPlan, ErrnoException, File_2 as File, FileDescription, FileDescriptions, INSTRUMENTER_CONSTANTS, InstrumentError, InstrumentResult, InstrumenterContext, InstrumenterOptions, InstrumenterOptionsSchema, Location, LocationSchema, Mutant, MutantActivation, MutantActivationSchema, MutantCoverage, MutantEarlyResultPlan, MutantRunOptions, MutantRunOptionsSchema, MutantRunPlan, MutantStatus, MutantStatusSchema, MutantTestCoverage, MutantTestPlan, MutateDescription, MutationRange, OpenEndLocation, OpenEndLocationSchema, ParserOptions, Position, PositionSchema, RunMutantResult, RunOptions, RunOptionsFields, RunPlan, TestPlan, causeText, disableTypeChecks, errorToString, instrument, isErrnoException, isMutant, normalizeFileName };
|
|
@@ -192,7 +192,7 @@ declare interface RunPlan {
|
|
|
192
192
|
}
|
|
193
193
|
declare type TestPlan = EarlyResultPlan | RunPlan;
|
|
194
194
|
declare namespace index_d_exports {
|
|
195
|
-
export { BaseTestResult, BoundaryError, BoundaryErrorSchema, BoundaryPayloadRejected, BoundaryUnrecognizedSignal, BrandingInformation, BrandingInformationSchema, CheckResult, CheckResultSchema, CheckStatus, Checker, CheckerCheckResult, CheckerCustomConfig, CheckerCustomConfigSchema, CheckerEntryConfig, CheckerEntryConfigSchema, CheckerFailed, CheckerGroupResult, CheckerMutantWire, CheckerRequest, CheckerRpcs, CheckerService, CommandRunnerOptions, CommandRunnerOptionsSchema, CompleteDryRunResult, CoverageAnalysis, CoverageAnalysisMode, CoverageAnalysisMode as CoverageAnalysisModeType, CoverageAnalysisSchema, DeepOptional, Dependencies, DependenciesSchema, DryRunCompleted, DryRunOptions, DryRunOptionsSchema, DryRunResult, DryRunResultSchema, DryRunStatus, EXIT_CODE, ErrorDryRunResult, ErrorMutantRunResult, Evaluator, EvaluatorFailed, EvaluatorService, ExitClass, FailedCheckResult, FailedTestResult, FileResult, FileResultDictionary, FileResultDictionarySchema, FileResultSchema, FrameworkInformation, FrameworkInformationSchema, KilledMutantRunResult, KnownKeys, Location, LocationSchema, LogLevel, LogLevel as LogLevelType, Metrics, MetricsResult, MetricsResultSchema, MetricsSchema, MutantActivation, MutantActivationSchema, MutantCoverage, MutantCoverageSchema, MutantResult, MutantResultSchema, MutantRunOptions, MutantRunOptionsSchema, MutantRunResult, MutantRunResultSchema, MutantRunStatus, MutantStatus, MutantStatusSchema, MutantTested, MutationScoreThresholds, MutationScoreThresholdsSchema, MutationTestReportReady, MutationTestResult, MutationTestResultSchema, MutationTestingPlanReady, OnlyObject, OpenEndLocation, OpenEndLocationSchema, PackageManager, PackageManager as PackageManagerType, PartialStrykerOptions, PassedCheckResult, PluginFileUrl, Position, PositionSchema, Primitive, PropagatedTrace, PropertyPathOverloads, RENDERED_OPTION_DEFAULTS, ReportType, ReportType as ReportTypeType, ReporterAck, ReporterDrained, ReporterEvent, ReporterEventBatch, ReporterEventKind, ReporterEventSchema, ReporterEventUnion, ReporterFactory, ReporterFailed, ReporterInit, ReporterInitOptions, ReporterPlanDescriptor, ReporterPlanDescriptorSchema, ReporterPlanKind, ReporterRpcs, RunOptions, RunTiming, RunTimingSchema, SkippedTestResult, StrykerOptions, StrykerOptionsSchema, SuccessTestResult, SurvivedMutantRunResult, TRACEPARENT_HEADER, TRACESTATE_HEADER, TestDefinition, TestDefinitionSchema, TestFile, TestFileDefinitionDictionary, TestFileDefinitionDictionarySchema, TestFileSchema, TestResult, TestResultSchema, TestRunner, TestRunnerCapabilities, TestRunnerCapabilitiesSchema, TestRunnerConfig, TestRunnerConfigSchema, TestRunnerCustomConfig, TestRunnerCustomConfigSchema, TestRunnerDryRunRequest, TestRunnerFailed, TestRunnerMutantRunRequest, TestRunnerRpcs, TestRunnerService, TestStatus, Thresholds, ThresholdsSchema, TimeoutDryRunResult, TimeoutMutantRunResult, TraceContextMiddleware, TraceContextParts, TraceContextReference, TracedRpc, Traceparent, WorkerEntryUrl, WorkerPluginKind, WorkerPluginSpawn, WorkerPluginSpawnSchema, formatTraceparent, isCustomTestRunner, parseTraceparent, propertyPath, strykerCoreSchema, strykerReportBugUrl, testFilesProvided, toMutantRunResult };
|
|
195
|
+
export { BaseTestResult, BoundaryError, BoundaryErrorSchema, BoundaryPayloadRejected, BoundaryUnrecognizedSignal, BrandingInformation, BrandingInformationSchema, CheckResult, CheckResultSchema, CheckStatus, Checker, CheckerCheckResult, CheckerCustomConfig, CheckerCustomConfigSchema, CheckerEntryConfig, CheckerEntryConfigSchema, CheckerFailed, CheckerGroupResult, CheckerMutantWire, CheckerRequest, CheckerRpcs, CheckerService, CommandRunnerOptions, CommandRunnerOptionsSchema, CompleteDryRunResult, CoverageAnalysis, CoverageAnalysisMode, CoverageAnalysisMode as CoverageAnalysisModeType, CoverageAnalysisSchema, DeepOptional, Dependencies, DependenciesSchema, DetectedStatus, DryRunCompleted, DryRunOptions, DryRunOptionsSchema, DryRunResult, DryRunResultSchema, DryRunStatus, EXIT_CODE, ErrorDryRunResult, ErrorMutantRunResult, Evaluator, EvaluatorFailed, EvaluatorService, ExitClass, FailedCheckResult, FailedTestResult, FileResult, FileResultDictionary, FileResultDictionarySchema, FileResultSchema, FrameworkInformation, FrameworkInformationSchema, InvalidStatus, KilledMutantRunResult, KnownKeys, Location, LocationSchema, LogLevel, LogLevel as LogLevelType, Metrics, MetricsResult, MetricsResultEncoded, MetricsResultSchema, MetricsSchema, MutantActivation, MutantActivationSchema, MutantCoverage, MutantCoverageSchema, MutantResult, MutantResultSchema, MutantRunOptions, MutantRunOptionsSchema, MutantRunResult, MutantRunResultSchema, MutantRunStatus, MutantStatus, MutantStatusSchema, MutantTested, MutationScoreThresholds, MutationScoreThresholdsSchema, MutationTestReportReady, MutationTestResult, MutationTestResultSchema, MutationTestingPlanReady, NonNegativeFinite, NonNegativeInt, OnlyObject, OpenEndLocation, OpenEndLocationSchema, PackageManager, PackageManager as PackageManagerType, PartialStrykerOptions, PassedCheckResult, Percentage, PluginFileUrl, Position, PositionSchema, Primitive, PropagatedTrace, PropertyPathOverloads, RENDERED_OPTION_DEFAULTS, ReportType, ReportType as ReportTypeType, ReporterAck, ReporterDrained, ReporterEvent, ReporterEventBatch, ReporterEventKind, ReporterEventSchema, ReporterEventUnion, ReporterFactory, ReporterFailed, ReporterInit, ReporterInitOptions, ReporterPlanDescriptor, ReporterPlanDescriptorSchema, ReporterPlanKind, ReporterRpcs, RunOptions, RunTiming, RunTimingSchema, SkippedTestResult, StrykerOptions, StrykerOptionsSchema, SuccessTestResult, SurvivedMutantRunResult, TRACEPARENT_HEADER, TRACESTATE_HEADER, TestDefinition, TestDefinitionSchema, TestFile, TestFileDefinitionDictionary, TestFileDefinitionDictionarySchema, TestFileSchema, TestResult, TestResultSchema, TestRunner, TestRunnerCapabilities, TestRunnerCapabilitiesSchema, TestRunnerConfig, TestRunnerConfigSchema, TestRunnerCustomConfig, TestRunnerCustomConfigSchema, TestRunnerDryRunRequest, TestRunnerFailed, TestRunnerMutantRunRequest, TestRunnerRpcs, TestRunnerService, TestStatus, Thresholds, ThresholdsSchema, TimeoutDryRunResult, TimeoutMutantRunResult, TraceContextMiddleware, TraceContextParts, TraceContextReference, TracedRpc, Traceparent, UndetectedStatus, UntestedStatus, WorkerEntryUrl, WorkerPluginKind, WorkerPluginSpawn, WorkerPluginSpawnSchema, formatTraceparent, isCustomTestRunner, parseTraceparent, propertyPath, strykerCoreSchema, strykerReportBugUrl, testFilesProvided, toMutantRunResult };
|
|
196
196
|
}
|
|
197
197
|
declare interface BaseTestResult {
|
|
198
198
|
readonly id: string;
|
|
@@ -320,6 +320,7 @@ declare const CoverageAnalysisSchema: S.Literals<readonly ["off", "all", "perTes
|
|
|
320
320
|
declare type DeepOptional<T> = { -readonly [P in keyof T]?: T[P] extends Record<string, unknown> ? DeepOptional<T[P]> | undefined : T[P]; };
|
|
321
321
|
declare type Dependencies = typeof DependenciesSchema.Type;
|
|
322
322
|
declare const DependenciesSchema: S.$Record<S.String, S.String>;
|
|
323
|
+
declare const DetectedStatus: S.Union<readonly [S.Literal<"Killed">, S.Literal<"Timeout">]>;
|
|
323
324
|
declare class DryRunCompleted extends DryRunCompleted_base {}
|
|
324
325
|
declare const DryRunCompleted_base: S.Class<DryRunCompleted, S.TaggedStruct<"dryRunCompleted", {
|
|
325
326
|
readonly timing: S.Struct<{
|
|
@@ -329,7 +330,7 @@ declare const DryRunCompleted_base: S.Class<DryRunCompleted, S.TaggedStruct<"dry
|
|
|
329
330
|
readonly capabilities: S.Struct<{
|
|
330
331
|
readonly reloadEnvironment: S.Boolean;
|
|
331
332
|
}>;
|
|
332
|
-
readonly testCount: S.
|
|
333
|
+
readonly testCount: S.Int;
|
|
333
334
|
readonly tests: S.$Array<S.Union<readonly [S.Struct<{
|
|
334
335
|
readonly id: S.String;
|
|
335
336
|
readonly name: S.String;
|
|
@@ -476,7 +477,7 @@ declare const FileResultDictionarySchema: S.$Record<S.String, S.Struct<{
|
|
|
476
477
|
readonly static: S.optional<S.Boolean>;
|
|
477
478
|
readonly coveredBy: S.optional<S.$Array<S.String>>;
|
|
478
479
|
readonly killedBy: S.optional<S.$Array<S.String>>;
|
|
479
|
-
readonly testsCompleted: S.optional<S.
|
|
480
|
+
readonly testsCompleted: S.optional<S.Int>;
|
|
480
481
|
readonly duration: S.optional<S.Finite>;
|
|
481
482
|
}>>;
|
|
482
483
|
}>>;
|
|
@@ -503,7 +504,7 @@ declare const FileResultSchema: S.Struct<{
|
|
|
503
504
|
readonly static: S.optional<S.Boolean>;
|
|
504
505
|
readonly coveredBy: S.optional<S.$Array<S.String>>;
|
|
505
506
|
readonly killedBy: S.optional<S.$Array<S.String>>;
|
|
506
|
-
readonly testsCompleted: S.optional<S.
|
|
507
|
+
readonly testsCompleted: S.optional<S.Int>;
|
|
507
508
|
readonly duration: S.optional<S.Finite>;
|
|
508
509
|
}>>;
|
|
509
510
|
}>;
|
|
@@ -518,6 +519,7 @@ declare const FrameworkInformationSchema: S.Struct<{
|
|
|
518
519
|
}>>;
|
|
519
520
|
readonly dependencies: S.optional<S.$Record<S.String, S.String>>;
|
|
520
521
|
}>;
|
|
522
|
+
declare const InvalidStatus: S.Union<readonly [S.Literal<"CompileError">, S.Literal<"RuntimeError">]>;
|
|
521
523
|
declare const isCustomTestRunner: (value: TestRunnerConfig) => value is TestRunnerCustomConfig;
|
|
522
524
|
declare interface KilledMutantRunResult {
|
|
523
525
|
readonly status: 'killed';
|
|
@@ -533,52 +535,41 @@ declare type KnownKeys<T> = keyof { [P in keyof T as string extends P ? never :
|
|
|
533
535
|
declare const LogLevel: S.Literals<readonly ["off", "fatal", "error", "warn", "info", "debug", "trace"]>;
|
|
534
536
|
/** The generated module exported these as TypeScript types; consumers still name them that way. */
|
|
535
537
|
declare type LogLevel = typeof LogLevel.Type;
|
|
536
|
-
declare
|
|
538
|
+
declare class Metrics extends Metrics_base {
|
|
539
|
+
get totalDetected(): number;
|
|
540
|
+
get totalUndetected(): number;
|
|
541
|
+
get totalCovered(): number;
|
|
542
|
+
get totalValid(): number;
|
|
543
|
+
get totalInvalid(): number;
|
|
544
|
+
get totalMutants(): number;
|
|
545
|
+
get mutationScore(): number;
|
|
546
|
+
get mutationScoreBasedOnCoveredCode(): number;
|
|
547
|
+
static fromMutants(mutants: readonly {
|
|
548
|
+
readonly status: string;
|
|
549
|
+
}[]): Metrics;
|
|
550
|
+
}
|
|
551
|
+
declare const Metrics_base: S.Class<Metrics, S.Struct<{
|
|
552
|
+
readonly pending: S.Int;
|
|
553
|
+
readonly killed: S.Int;
|
|
554
|
+
readonly timeout: S.Int;
|
|
555
|
+
readonly survived: S.Int;
|
|
556
|
+
readonly noCoverage: S.Int;
|
|
557
|
+
readonly runtimeErrors: S.Int;
|
|
558
|
+
readonly compileErrors: S.Int;
|
|
559
|
+
readonly ignored: S.Int;
|
|
560
|
+
}>, {}>;
|
|
537
561
|
declare interface MetricsResult {
|
|
538
562
|
readonly name: string;
|
|
539
563
|
readonly metrics: Metrics;
|
|
540
564
|
readonly childResults: readonly MetricsResult[];
|
|
541
565
|
}
|
|
542
|
-
declare
|
|
543
|
-
readonly name:
|
|
544
|
-
readonly metrics:
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
readonly noCoverage: S.Finite;
|
|
550
|
-
readonly runtimeErrors: S.Finite;
|
|
551
|
-
readonly compileErrors: S.Finite;
|
|
552
|
-
readonly ignored: S.Finite;
|
|
553
|
-
readonly totalDetected: S.Finite;
|
|
554
|
-
readonly totalUndetected: S.Finite;
|
|
555
|
-
readonly totalInvalid: S.Finite;
|
|
556
|
-
readonly totalValid: S.Finite;
|
|
557
|
-
readonly totalMutants: S.Finite;
|
|
558
|
-
readonly totalCovered: S.Finite;
|
|
559
|
-
readonly mutationScore: S.Finite;
|
|
560
|
-
readonly mutationScoreBasedOnCoveredCode: S.Finite;
|
|
561
|
-
}>;
|
|
562
|
-
readonly childResults: S.$Array<S.suspend<S.Codec<MetricsResult, MetricsResult, never, never>>>;
|
|
563
|
-
}>;
|
|
564
|
-
declare const MetricsSchema: S.Struct<{
|
|
565
|
-
readonly pending: S.Finite;
|
|
566
|
-
readonly killed: S.Finite;
|
|
567
|
-
readonly timeout: S.Finite;
|
|
568
|
-
readonly survived: S.Finite;
|
|
569
|
-
readonly noCoverage: S.Finite;
|
|
570
|
-
readonly runtimeErrors: S.Finite;
|
|
571
|
-
readonly compileErrors: S.Finite;
|
|
572
|
-
readonly ignored: S.Finite;
|
|
573
|
-
readonly totalDetected: S.Finite;
|
|
574
|
-
readonly totalUndetected: S.Finite;
|
|
575
|
-
readonly totalInvalid: S.Finite;
|
|
576
|
-
readonly totalValid: S.Finite;
|
|
577
|
-
readonly totalMutants: S.Finite;
|
|
578
|
-
readonly totalCovered: S.Finite;
|
|
579
|
-
readonly mutationScore: S.Finite;
|
|
580
|
-
readonly mutationScoreBasedOnCoveredCode: S.Finite;
|
|
581
|
-
}>;
|
|
566
|
+
declare interface MetricsResultEncoded {
|
|
567
|
+
readonly name: string;
|
|
568
|
+
readonly metrics: typeof Metrics.Encoded;
|
|
569
|
+
readonly childResults: readonly MetricsResultEncoded[];
|
|
570
|
+
}
|
|
571
|
+
declare const MetricsResultSchema: S.Codec<MetricsResult, MetricsResultEncoded>;
|
|
572
|
+
declare const MetricsSchema: typeof Metrics;
|
|
582
573
|
declare const MutantCoverageSchema: S.Struct<{
|
|
583
574
|
readonly perTest: S.$Record<S.String, S.$Record<S.String, S.Finite>>;
|
|
584
575
|
readonly static: S.$Record<S.String, S.Finite>;
|
|
@@ -604,7 +595,7 @@ declare const MutantResultSchema: S.Struct<{
|
|
|
604
595
|
readonly static: S.optional<S.Boolean>;
|
|
605
596
|
readonly coveredBy: S.optional<S.$Array<S.String>>;
|
|
606
597
|
readonly killedBy: S.optional<S.$Array<S.String>>;
|
|
607
|
-
readonly testsCompleted: S.optional<S.
|
|
598
|
+
readonly testsCompleted: S.optional<S.Int>;
|
|
608
599
|
readonly duration: S.optional<S.Finite>;
|
|
609
600
|
}>;
|
|
610
601
|
declare type MutantRunResult = ErrorMutantRunResult | KilledMutantRunResult | SurvivedMutantRunResult | TimeoutMutantRunResult;
|
|
@@ -642,18 +633,26 @@ declare const MutantTested_base: S.Class<MutantTested, S.TaggedStruct<"mutantTes
|
|
|
642
633
|
}>;
|
|
643
634
|
readonly mutator: S.String;
|
|
644
635
|
readonly replacement: S.NullOr<S.String>;
|
|
645
|
-
readonly completed: S.
|
|
646
|
-
readonly total: S.
|
|
636
|
+
readonly completed: S.Int;
|
|
637
|
+
readonly total: S.Int;
|
|
647
638
|
}>, {}>;
|
|
648
639
|
declare type MutationScoreThresholds = typeof MutationScoreThresholdsSchema.Type;
|
|
649
|
-
declare const MutationScoreThresholdsSchema: S.
|
|
640
|
+
declare const MutationScoreThresholdsSchema: S.decodeTo<S.declare<{
|
|
641
|
+
readonly high: number;
|
|
642
|
+
readonly low: number;
|
|
643
|
+
readonly break: number | null;
|
|
644
|
+
}, {
|
|
645
|
+
readonly high: number;
|
|
646
|
+
readonly low: number;
|
|
647
|
+
readonly break: number | null;
|
|
648
|
+
}>, S.Struct<{
|
|
650
649
|
readonly high: S.withDecodingDefaultKey<S.Finite, never>;
|
|
651
650
|
readonly low: S.withDecodingDefaultKey<S.Finite, never>;
|
|
652
651
|
readonly break: S.withDecodingDefaultKey<S.NullOr<S.Finite>, never>;
|
|
653
|
-
}>;
|
|
652
|
+
}>, never, never>;
|
|
654
653
|
declare class MutationTestingPlanReady extends MutationTestingPlanReady_base {}
|
|
655
654
|
declare const MutationTestingPlanReady_base: S.Class<MutationTestingPlanReady, S.TaggedStruct<"mutationTestingPlanReady", {
|
|
656
|
-
readonly total: S.
|
|
655
|
+
readonly total: S.Int;
|
|
657
656
|
readonly plans: S.$Array<S.Struct<{
|
|
658
657
|
readonly mutantId: S.String;
|
|
659
658
|
readonly plan: S.Literals<readonly ["EarlyResult", "Run"]>;
|
|
@@ -688,14 +687,20 @@ declare const MutationTestReportReady_base: S.Class<MutationTestReportReady, S.T
|
|
|
688
687
|
readonly static: S.optional<S.Boolean>;
|
|
689
688
|
readonly coveredBy: S.optional<S.$Array<S.String>>;
|
|
690
689
|
readonly killedBy: S.optional<S.$Array<S.String>>;
|
|
691
|
-
readonly testsCompleted: S.optional<S.
|
|
690
|
+
readonly testsCompleted: S.optional<S.Int>;
|
|
692
691
|
readonly duration: S.optional<S.Finite>;
|
|
693
692
|
}>>;
|
|
694
693
|
}>>;
|
|
695
|
-
readonly thresholds: S.
|
|
694
|
+
readonly thresholds: S.decodeTo<S.declare<{
|
|
695
|
+
readonly high: number;
|
|
696
|
+
readonly low: number;
|
|
697
|
+
}, {
|
|
698
|
+
readonly high: number;
|
|
699
|
+
readonly low: number;
|
|
700
|
+
}>, S.Struct<{
|
|
696
701
|
readonly high: S.Finite;
|
|
697
702
|
readonly low: S.Finite;
|
|
698
|
-
}>;
|
|
703
|
+
}>, never, never>;
|
|
699
704
|
readonly config: S.optional<S.$Record<S.String, S.Unknown>>;
|
|
700
705
|
readonly testFiles: S.optional<S.$Record<S.String, S.Struct<{
|
|
701
706
|
readonly source: S.optional<S.String>;
|
|
@@ -725,28 +730,7 @@ declare const MutationTestReportReady_base: S.Class<MutationTestReportReady, S.T
|
|
|
725
730
|
readonly dependencies: S.optional<S.$Record<S.String, S.String>>;
|
|
726
731
|
}>>;
|
|
727
732
|
}>;
|
|
728
|
-
readonly metrics: S.
|
|
729
|
-
readonly name: S.String;
|
|
730
|
-
readonly metrics: S.Struct<{
|
|
731
|
-
readonly pending: S.Finite;
|
|
732
|
-
readonly killed: S.Finite;
|
|
733
|
-
readonly timeout: S.Finite;
|
|
734
|
-
readonly survived: S.Finite;
|
|
735
|
-
readonly noCoverage: S.Finite;
|
|
736
|
-
readonly runtimeErrors: S.Finite;
|
|
737
|
-
readonly compileErrors: S.Finite;
|
|
738
|
-
readonly ignored: S.Finite;
|
|
739
|
-
readonly totalDetected: S.Finite;
|
|
740
|
-
readonly totalUndetected: S.Finite;
|
|
741
|
-
readonly totalInvalid: S.Finite;
|
|
742
|
-
readonly totalValid: S.Finite;
|
|
743
|
-
readonly totalMutants: S.Finite;
|
|
744
|
-
readonly totalCovered: S.Finite;
|
|
745
|
-
readonly mutationScore: S.Finite;
|
|
746
|
-
readonly mutationScoreBasedOnCoveredCode: S.Finite;
|
|
747
|
-
}>;
|
|
748
|
-
readonly childResults: S.$Array<S.suspend<S.Codec<MetricsResult, MetricsResult, never, never>>>;
|
|
749
|
-
}>;
|
|
733
|
+
readonly metrics: S.Codec<MetricsResult, MetricsResultEncoded, never, never>;
|
|
750
734
|
}>, {}>;
|
|
751
735
|
declare type MutationTestResult = typeof MutationTestResultSchema.Type;
|
|
752
736
|
declare const MutationTestResultSchema: S.Struct<{
|
|
@@ -774,14 +758,20 @@ declare const MutationTestResultSchema: S.Struct<{
|
|
|
774
758
|
readonly static: S.optional<S.Boolean>;
|
|
775
759
|
readonly coveredBy: S.optional<S.$Array<S.String>>;
|
|
776
760
|
readonly killedBy: S.optional<S.$Array<S.String>>;
|
|
777
|
-
readonly testsCompleted: S.optional<S.
|
|
761
|
+
readonly testsCompleted: S.optional<S.Int>;
|
|
778
762
|
readonly duration: S.optional<S.Finite>;
|
|
779
763
|
}>>;
|
|
780
764
|
}>>;
|
|
781
|
-
readonly thresholds: S.
|
|
765
|
+
readonly thresholds: S.decodeTo<S.declare<{
|
|
766
|
+
readonly high: number;
|
|
767
|
+
readonly low: number;
|
|
768
|
+
}, {
|
|
769
|
+
readonly high: number;
|
|
770
|
+
readonly low: number;
|
|
771
|
+
}>, S.Struct<{
|
|
782
772
|
readonly high: S.Finite;
|
|
783
773
|
readonly low: S.Finite;
|
|
784
|
-
}>;
|
|
774
|
+
}>, never, never>;
|
|
785
775
|
readonly config: S.optional<S.$Record<S.String, S.Unknown>>;
|
|
786
776
|
readonly testFiles: S.optional<S.$Record<S.String, S.Struct<{
|
|
787
777
|
readonly source: S.optional<S.String>;
|
|
@@ -811,6 +801,8 @@ declare const MutationTestResultSchema: S.Struct<{
|
|
|
811
801
|
readonly dependencies: S.optional<S.$Record<S.String, S.String>>;
|
|
812
802
|
}>>;
|
|
813
803
|
}>;
|
|
804
|
+
declare const NonNegativeFinite: S.Finite;
|
|
805
|
+
declare const NonNegativeInt: S.Int;
|
|
814
806
|
declare type OnlyObject<T> = Exclude<T, Primitive>;
|
|
815
807
|
declare const PackageManager: S.Literals<readonly ["npm", "yarn", "pnpm"]>;
|
|
816
808
|
declare type PackageManager = typeof PackageManager.Type;
|
|
@@ -823,6 +815,7 @@ declare type PartialStrykerOptions = DeepOptional<StrykerOptions>;
|
|
|
823
815
|
declare interface PassedCheckResult {
|
|
824
816
|
readonly status: 'passed';
|
|
825
817
|
}
|
|
818
|
+
declare const Percentage: S.Finite;
|
|
826
819
|
declare const PluginFileUrl: S.String;
|
|
827
820
|
declare type Primitive = boolean | number | string | null | undefined;
|
|
828
821
|
declare class PropagatedTrace extends PropagatedTrace_base {}
|
|
@@ -971,11 +964,19 @@ declare const StrykerOptionsSchema: S.StructWithRest<S.Struct<{
|
|
|
971
964
|
readonly options: S.optional<S.$Record<S.String, S.Unknown>>;
|
|
972
965
|
}>]>, never>;
|
|
973
966
|
readonly testRunnerNodeArgs: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
974
|
-
readonly thresholds: S.withDecodingDefaultKey<S.
|
|
967
|
+
readonly thresholds: S.withDecodingDefaultKey<S.decodeTo<S.declare<{
|
|
968
|
+
readonly high: number;
|
|
969
|
+
readonly low: number;
|
|
970
|
+
readonly break: number | null;
|
|
971
|
+
}, {
|
|
972
|
+
readonly high: number;
|
|
973
|
+
readonly low: number;
|
|
974
|
+
readonly break: number | null;
|
|
975
|
+
}>, S.Struct<{
|
|
975
976
|
readonly high: S.withDecodingDefaultKey<S.Finite, never>;
|
|
976
977
|
readonly low: S.withDecodingDefaultKey<S.Finite, never>;
|
|
977
978
|
readonly break: S.withDecodingDefaultKey<S.NullOr<S.Finite>, never>;
|
|
978
|
-
}>, never>;
|
|
979
|
+
}>, never, never>, never>;
|
|
979
980
|
readonly timeoutFactor: S.withDecodingDefaultKey<S.Finite, never>;
|
|
980
981
|
readonly timeoutMS: S.withDecodingDefaultKey<S.Finite, never>;
|
|
981
982
|
readonly dryRunTimeoutMinutes: S.withDecodingDefaultKey<S.Finite, never>;
|
|
@@ -1157,10 +1158,16 @@ declare interface TestRunnerService {
|
|
|
1157
1158
|
declare const TestStatus: S.Literals<readonly ["success", "failed", "skipped"]>;
|
|
1158
1159
|
declare type TestStatus = typeof TestStatus.Type;
|
|
1159
1160
|
declare type Thresholds = typeof ThresholdsSchema.Type;
|
|
1160
|
-
declare const ThresholdsSchema: S.
|
|
1161
|
+
declare const ThresholdsSchema: S.decodeTo<S.declare<{
|
|
1162
|
+
readonly high: number;
|
|
1163
|
+
readonly low: number;
|
|
1164
|
+
}, {
|
|
1165
|
+
readonly high: number;
|
|
1166
|
+
readonly low: number;
|
|
1167
|
+
}>, S.Struct<{
|
|
1161
1168
|
readonly high: S.Finite;
|
|
1162
1169
|
readonly low: S.Finite;
|
|
1163
|
-
}>;
|
|
1170
|
+
}>, never, never>;
|
|
1164
1171
|
declare interface TimeoutDryRunResult {
|
|
1165
1172
|
readonly status: 'timeout';
|
|
1166
1173
|
readonly reason?: string;
|
|
@@ -1185,6 +1192,8 @@ declare const Traceparent: S.String;
|
|
|
1185
1192
|
declare type Traceparent = typeof Traceparent.Type;
|
|
1186
1193
|
declare const TRACEPARENT_HEADER = "traceparent";
|
|
1187
1194
|
declare const TRACESTATE_HEADER = "tracestate";
|
|
1195
|
+
declare const UndetectedStatus: S.Union<readonly [S.Literal<"Survived">, S.Literal<"NoCoverage">]>;
|
|
1196
|
+
declare const UntestedStatus: S.Union<readonly [S.Literal<"Ignored">, S.Literal<"Pending">]>;
|
|
1188
1197
|
declare const WorkerEntryUrl: S.String;
|
|
1189
1198
|
declare type WorkerEntryUrl = typeof WorkerEntryUrl.Type;
|
|
1190
1199
|
declare const WorkerPluginKind: S.Literals<readonly ["TestRunner", "Checker", "Reporter"]>;
|
|
@@ -1195,20 +1204,4 @@ declare const WorkerPluginSpawnSchema: S.Struct<{
|
|
|
1195
1204
|
readonly entrypoint: S.String;
|
|
1196
1205
|
}>;
|
|
1197
1206
|
//#endregion
|
|
1198
|
-
|
|
1199
|
-
/**
|
|
1200
|
-
* Mode type vocabulary shared with the CLI package. Runtime resolution
|
|
1201
|
-
* (`resolveMode`) and gate functions (`isProgressEnabled`, `isColorEnabled`)
|
|
1202
|
-
* live in the CLI; the `ResolvedMode` fields (`mode`, `signal`,
|
|
1203
|
-
* `stdoutIsTTY`) ride along in `VerdictEnvelope` (`verdict-envelope.ts`),
|
|
1204
|
-
* so the types stay where the data does.
|
|
1205
|
-
*/
|
|
1206
|
-
type OutputMode = 'human' | 'machine';
|
|
1207
|
-
type ModeSignal = 'flag' | 'env' | 'tty' | 'agent' | 'tool';
|
|
1208
|
-
interface ResolvedMode {
|
|
1209
|
-
readonly mode: OutputMode;
|
|
1210
|
-
readonly signal: ModeSignal;
|
|
1211
|
-
readonly stdoutIsTTY: boolean;
|
|
1212
|
-
}
|
|
1213
|
-
//#endregion
|
|
1214
|
-
export { TestResult as $, MutantResultSchema as A, ReporterDrained as B, FileResult as C, MutationRange as Ct, MetricsResult as D, RunOptions as Dt, Metrics as E, RunMutantResult as Et, MutationTestResultSchema as F, ReporterInit as G, ReporterEventBatch as H, MutationTestingPlanReady as I, SkippedTestResult as J, ReporterInitOptions as K, PartialStrykerOptions as L, MutantTested as M, MutationTestReportReady as N, MetricsSchema as O, RunPlan as Ot, MutationTestResult as P, SurvivedMutantRunResult as Q, PassedCheckResult as R, FailedTestResult as S, MutateDescription as St, KilledMutantRunResult as T, PositionSchema as Tt, ReporterFactory as U, ReporterEvent as V, ReporterFailed as W, StrykerOptionsSchema as X, StrykerOptions as Y, SuccessTestResult as Z, DryRunResult as _, MutantActivationSchema as _t, CheckResult as a, TimeoutMutantRunResult as at, ExitClass as b, MutantStatus as bt, CheckerGroupResult as c, WorkerPluginKind as ct, CheckerRpcs as d, FileDescription as dt, TestRunnerCapabilities as et, CompleteDryRunResult as f, FileDescriptions as ft, DryRunOptions as g, MutantActivation as gt, DryRunCompleted as h, Mutant as ht, BaseTestResult as i, TimeoutDryRunResult as it, MutantRunResult as j, MutantResult as k, index_d_exports$1 as kt, CheckerMutantWire as l, index_d_exports as lt, DeepOptional as m, LocationSchema as mt, OutputMode as n, TestRunnerConfigSchema as nt, CheckerCheckResult as o, TraceContextMiddleware as ot, CoverageAnalysis as p, Location as pt, ReporterRpcs as q, ResolvedMode as r, TestRunnerFailed as rt, CheckerFailed as s, TracedRpc as st, ModeSignal as t, TestRunnerConfig as tt, CheckerRequest as u, CoverageData as ut, ErrorDryRunResult as v, MutantCoverage as vt, FileResultSchema as w, Position as wt, FailedCheckResult as x, MutantStatusSchema as xt, ErrorMutantRunResult as y, MutantRunOptions as yt, ReporterAck as z };
|
|
1207
|
+
export { TestRunnerConfigSchema as $, MutationTestReportReady as A, ReporterFactory as B, Metrics as C, RunMutantResult as Ct, MutantResultSchema as D, MutantResult as E, index_d_exports$1 as Et, PassedCheckResult as F, SkippedTestResult as G, ReporterInit as H, ReporterAck as I, SuccessTestResult as J, StrykerOptions as K, ReporterDrained as L, MutationTestResultSchema as M, MutationTestingPlanReady as N, MutantRunResult as O, PartialStrykerOptions as P, TestRunnerConfig as Q, ReporterEvent as R, KilledMutantRunResult as S, PositionSchema as St, MetricsSchema as T, RunPlan as Tt, ReporterInitOptions as U, ReporterFailed as V, ReporterRpcs as W, TestResult as X, SurvivedMutantRunResult as Y, TestRunnerCapabilities as Z, ExitClass as _, MutantStatus as _t, CheckerGroupResult as a, WorkerPluginKind as at, FileResult as b, MutationRange as bt, CheckerRpcs as c, FileDescription as ct, DeepOptional as d, LocationSchema as dt, TestRunnerFailed as et, DryRunCompleted as f, Mutant as ft, ErrorMutantRunResult as g, MutantRunOptions as gt, ErrorDryRunResult as h, MutantCoverage as ht, CheckerFailed as i, TracedRpc as it, MutationTestResult as j, MutantTested as k, CompleteDryRunResult as l, FileDescriptions as lt, DryRunResult as m, MutantActivationSchema as mt, CheckResult as n, TimeoutMutantRunResult as nt, CheckerMutantWire as o, index_d_exports as ot, DryRunOptions as p, MutantActivation as pt, StrykerOptionsSchema as q, CheckerCheckResult as r, TraceContextMiddleware as rt, CheckerRequest as s, CoverageData as st, BaseTestResult as t, TimeoutDryRunResult as tt, CoverageAnalysis as u, Location as ut, FailedCheckResult as v, MutantStatusSchema as vt, MetricsResult as w, RunOptions as wt, FileResultSchema as x, Position as xt, FailedTestResult as y, MutateDescription as yt, ReporterEventBatch as z };
|