@systemfsoftware/stryker-js 12.1.1 → 13.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 +65 -0
- package/dist/Run.schema-Bj7b_FMA.mjs +269 -0
- package/dist/{Run.schema-D7N2ILY3.d.mts → Run.schema-BlvpjFjJ.d.mts} +139 -61
- package/dist/{RunEnvironment.service-6aDpmGcD.d.mts → RunEnvironment.service-BJAsZsdn.d.mts} +124 -64
- package/dist/config.d.mts +3 -9
- package/dist/config.mjs +1 -1
- package/dist/{Run.schema-BaK_pxuK.mjs → dist-BscHZmXN.mjs} +1176 -1361
- package/dist/events.d.mts +2 -2
- package/dist/events.mjs +2 -2
- package/dist/{index-B8dqrKV1.d.mts → index-C09A80iv.d.mts} +698 -371
- package/dist/index.d.mts +169 -190
- package/dist/index.mjs +6 -5
- package/dist/main.mjs +30943 -27455
- package/dist/merge-config-DA_v1hGx.mjs +63 -0
- package/dist/{stryker-config.schema-DFWkz89S.d.mts → merge-config-X_AxYxMY.d.mts} +9 -2
- package/dist/promises.d.mts +3 -3
- package/dist/promises.mjs +4 -7
- package/dist/{run-stages.cell-CtFLJCm0.mjs → run-stages.cell-BN__EOCk.mjs} +3293 -3225
- package/package.json +7 -8
- package/dist/merge-config-ByZJPeQZ.mjs +0 -32
package/dist/index.d.mts
CHANGED
|
@@ -1,21 +1,20 @@
|
|
|
1
|
-
import { c as mod_d_exports$2$2, d as Ignorer, f as Node_2, i as mod_d_exports$4$1, l as mod_d_exports$3$1, n as mod_d_exports$2$1, o as mod_d_exports$6$1, t as mod_d_exports$6, u as Framework } from "./index-
|
|
2
|
-
import { i as
|
|
3
|
-
import { A as
|
|
4
|
-
import { $ as
|
|
1
|
+
import { c as mod_d_exports$2$2, d as Ignorer, f as Node_2, i as mod_d_exports$4$1, l as mod_d_exports$3$1, n as mod_d_exports$2$1, o as mod_d_exports$6$1, t as mod_d_exports$6, u as Framework } from "./index-C09A80iv.mjs";
|
|
2
|
+
import { a as ImmutablePrimitive, i as Immutable, n as mergeConfigs, o as Primitive } from "./merge-config-X_AxYxMY.mjs";
|
|
3
|
+
import { A as VerdictCounts, C as RunMutantTested, D as RunTerminalEvent, E as RunStarted, M as VerdictReached, O as SkippedFileRow, a as OutputMode, b as RunEvent, c as FormatRegistryResolved, d as FrameworkModuleRow, f as Heartbeat, g as PlanKnown, h as PhaseEntered, i as ModeSignal, j as VerdictMutant, k as SkippedReported, l as FormatRegistryRow, n as StageError, o as ResolvedMode, p as HelpRendered, r as PluginLoadFailureReason, s as FormatClaimShadowingRow, u as FrameworkContributionRow, v as PluginsReported, w as RunPhase, x as RunFailed } from "./Run.schema-BlvpjFjJ.mjs";
|
|
4
|
+
import { $ as ConfigFileNotFoundError, A as ReporterWorkerClient, B as ProjectFile, C as PluginSource, D as TestCoverage, E as SandboxHandle, F as WorkerLauncherShape, G as makeRunEventStream, H as RunEventDrain, I as WorkerSpawnParams, J as RunIdentity, K as ResolvedModeInput, L as SpawnedSocketWorker, M as reporterWorkerFactory, N as spawnReporterWorker, O as REPORTER_EVENT_BATCH_BOUND, P as WorkerLauncher, Q as ConfigFileInvalidError, R as make, S as PluginKind, T as WorkerPluginSource, U as RunEventDrainLive, V as IncrementalReportSchema, W as RunEventStream, X as StrykerError, Y as RunIdentityShape, Z as ConfigError, _ as EvaluatorPluginDescriptor, a as StageServices, at as WorkerBootTimeoutError, b as PluginDescriptor, c as IdGeneratorShape, d as InstrumentDone, et as ConfigFileUnreadableError, f as PrepareDone, g as AnyWorkerPluginSource, h as AnyWorkerPluginDescriptor, i as RunStageServices, it as WorkerBootError, j as SpawnReporterWorkerParams, k as ReporterStage, l as MutationTestDone, m as AnyPluginDescriptor, n as RunEnvironmentShape, nt as ChildProcessCrashedError, o as WiredRunLayer, ot as WorkerExit, p as PrepareExecutorArgs, q as RunEvents, r as EnginePorts, rt as OutOfMemoryError, s as IdGenerator, t as RunEnvironment, tt as ConfigFileUnsupportedError, u as DryRunDone, v as EvaluatorPluginSource, w as WorkerPluginDescriptor, x as PluginDescriptorOf, y as LoadedPlugins, z as Project } from "./RunEnvironment.service-BJAsZsdn.mjs";
|
|
5
5
|
import { Blueprint, Cell, Handle, Sandwich, Workflow } from "@systemfsoftware/effect-cell-types";
|
|
6
6
|
import * as S from "effect/Schema";
|
|
7
7
|
import * as Effect from "effect/Effect";
|
|
8
8
|
import * as Rpc from "effect/unstable/rpc/Rpc";
|
|
9
9
|
import * as RpcGroup from "effect/unstable/rpc/RpcGroup";
|
|
10
10
|
import "effect/Cause";
|
|
11
|
-
import * as Path from "effect/Path";
|
|
12
11
|
import * as FileSystem from "effect/FileSystem";
|
|
13
|
-
import * as
|
|
12
|
+
import * as Path from "effect/Path";
|
|
14
13
|
import * as Layer from "effect/Layer";
|
|
15
14
|
import "effect/Queue";
|
|
16
15
|
import * as Scope from "effect/Scope";
|
|
17
16
|
import * as RpcClient from "effect/unstable/rpc/RpcClient";
|
|
18
|
-
import "effect/
|
|
17
|
+
import * as ChildProcessSpawner from "effect/unstable/process/ChildProcessSpawner";
|
|
19
18
|
import { RpcClientError } from "effect/unstable/rpc/RpcClientError";
|
|
20
19
|
import * as Socket from "effect/unstable/socket/Socket";
|
|
21
20
|
import { PlatformError } from "effect/PlatformError";
|
|
@@ -92,38 +91,6 @@ declare const ExtendsStepStateSchema: S.Struct<{
|
|
|
92
91
|
}>;
|
|
93
92
|
type ExtendsStepState = typeof ExtendsStepStateSchema.Type;
|
|
94
93
|
type ExtendsRefusalReason = 'cycle' | 'non-string-extends';
|
|
95
|
-
declare const ExtendsStepDone_base: S.Class<ExtendsStepDone, S.TaggedStruct<"done", {
|
|
96
|
-
readonly options: S.$Record<S.String, S.Unknown>;
|
|
97
|
-
}>, {}>;
|
|
98
|
-
declare class ExtendsStepDone extends ExtendsStepDone_base {}
|
|
99
|
-
declare const ExtendsStepRead_base: S.Class<ExtendsStepRead, S.TaggedStruct<"read", {
|
|
100
|
-
readonly path: S.String;
|
|
101
|
-
readonly state: S.Struct<{
|
|
102
|
-
readonly visited: S.$Array<S.String>;
|
|
103
|
-
readonly documents: S.$Array<S.Struct<{
|
|
104
|
-
readonly path: S.String;
|
|
105
|
-
readonly options: S.$Record<S.String, S.Unknown>;
|
|
106
|
-
}>>;
|
|
107
|
-
}>;
|
|
108
|
-
}>, {}>;
|
|
109
|
-
declare class ExtendsStepRead extends ExtendsStepRead_base {}
|
|
110
|
-
declare const ExtendsStepResolve_base: S.Class<ExtendsStepResolve, S.TaggedStruct<"resolve", {
|
|
111
|
-
readonly specifier: S.String;
|
|
112
|
-
readonly state: S.Struct<{
|
|
113
|
-
readonly visited: S.$Array<S.String>;
|
|
114
|
-
readonly documents: S.$Array<S.Struct<{
|
|
115
|
-
readonly path: S.String;
|
|
116
|
-
readonly options: S.$Record<S.String, S.Unknown>;
|
|
117
|
-
}>>;
|
|
118
|
-
}>;
|
|
119
|
-
}>, {}>;
|
|
120
|
-
declare class ExtendsStepResolve extends ExtendsStepResolve_base {}
|
|
121
|
-
declare const ExtendsStepRefused_base: S.Class<ExtendsStepRefused, S.TaggedStruct<"refused", {
|
|
122
|
-
readonly reason: S.Literals<readonly ["cycle", "non-string-extends"]>;
|
|
123
|
-
readonly file: S.String;
|
|
124
|
-
}>, {}>;
|
|
125
|
-
declare class ExtendsStepRefused extends ExtendsStepRefused_base {}
|
|
126
|
-
type ExtendsStepDecision = ExtendsStepDone | ExtendsStepRead | ExtendsStepResolve | ExtendsStepRefused;
|
|
127
94
|
declare const survivorsPriorReport: S.optionalKey<S.String>;
|
|
128
95
|
declare const extendsPropertySchema: S.optionalKey<S.String>;
|
|
129
96
|
declare const forkOptionsSchema: S.StructWithRest<S.Struct<{
|
|
@@ -135,7 +102,7 @@ declare const forkOptionsSchema: S.StructWithRest<S.Struct<{
|
|
|
135
102
|
readonly options: S.optionalKey<S.$Record<S.String, S.Unknown>>;
|
|
136
103
|
}>>, never>;
|
|
137
104
|
readonly checkerNodeArgs: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
138
|
-
readonly concurrency: S.optionalKey<S.Union<readonly [S.
|
|
105
|
+
readonly concurrency: S.optionalKey<S.Union<readonly [S.Int, S.String]>>;
|
|
139
106
|
readonly commandRunner: S.withDecodingDefaultKey<S.StructWithRest<S.Struct<{
|
|
140
107
|
readonly command: S.withDecodingDefaultKey<S.String, never>;
|
|
141
108
|
}>, readonly [S.$Record<S.String, S.Unknown>]>, never>;
|
|
@@ -144,7 +111,7 @@ declare const forkOptionsSchema: S.StructWithRest<S.Struct<{
|
|
|
144
111
|
readonly allowColor: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
145
112
|
readonly allowEmojis: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
146
113
|
readonly logTests: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
147
|
-
readonly maxTestsToLog: S.withDecodingDefaultKey<S.
|
|
114
|
+
readonly maxTestsToLog: S.withDecodingDefaultKey<S.Int, never>;
|
|
148
115
|
readonly reportTests: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
149
116
|
readonly reportMutants: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
150
117
|
readonly reportScoreTable: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
@@ -160,8 +127,8 @@ declare const forkOptionsSchema: S.StructWithRest<S.Struct<{
|
|
|
160
127
|
readonly fileLogLevel: S.withDecodingDefaultKey<S.Literals<readonly ["off", "fatal", "error", "warn", "info", "debug", "trace"]>, never>;
|
|
161
128
|
readonly inPlace: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
162
129
|
readonly logLevel: S.withDecodingDefaultKey<S.Literals<readonly ["off", "fatal", "error", "warn", "info", "debug", "trace"]>, never>;
|
|
163
|
-
readonly maxConcurrentTestRunners: S.withDecodingDefaultKey<S.
|
|
164
|
-
readonly maxTestRunnerReuse: S.withDecodingDefaultKey<S.
|
|
130
|
+
readonly maxConcurrentTestRunners: S.withDecodingDefaultKey<S.Int, never>;
|
|
131
|
+
readonly maxTestRunnerReuse: S.withDecodingDefaultKey<S.Int, never>;
|
|
165
132
|
readonly mutate: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
166
133
|
readonly mutator: S.withDecodingDefaultKey<S.Struct<{
|
|
167
134
|
readonly excludedMutations: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
@@ -201,7 +168,7 @@ declare const forkOptionsSchema: S.StructWithRest<S.Struct<{
|
|
|
201
168
|
readonly break: S.withDecodingDefaultKey<S.NullOr<S.Finite>, never>;
|
|
202
169
|
}>, never, never>, never>;
|
|
203
170
|
readonly timeoutFactor: S.withDecodingDefaultKey<S.Finite, never>;
|
|
204
|
-
readonly timeoutMS: S.withDecodingDefaultKey<S.
|
|
171
|
+
readonly timeoutMS: S.withDecodingDefaultKey<S.Int, never>;
|
|
205
172
|
readonly dryRunTimeoutMinutes: S.withDecodingDefaultKey<S.Finite, never>;
|
|
206
173
|
readonly tsconfigFile: S.withDecodingDefaultKey<S.String, never>;
|
|
207
174
|
readonly warnings: S.withDecodingDefaultKey<S.Union<readonly [S.Boolean, S.StructWithRest<S.Struct<{
|
|
@@ -222,14 +189,77 @@ declare const forkOptionsSchema: S.StructWithRest<S.Struct<{
|
|
|
222
189
|
declare const createDefaultOptions: Effect.Effect<mod_d_exports$2$1.StrykerOptions>;
|
|
223
190
|
declare const defaultOptions: Effect.Effect<Immutable<mod_d_exports$2$1.StrykerOptions>, never, never>;
|
|
224
191
|
//#endregion
|
|
192
|
+
//#region src/run/extends-step.workflow.d.ts
|
|
193
|
+
declare const ExtendsStepDecisionTypeId: unique symbol;
|
|
194
|
+
type ExtendsStepDecisionTypeId = typeof ExtendsStepDecisionTypeId;
|
|
195
|
+
declare const ExtendsStepDone_base: S.Class<ExtendsStepDone, S.TaggedStruct<"done", {
|
|
196
|
+
readonly options: S.$Record<S.String, S.Unknown>;
|
|
197
|
+
}>, {}>;
|
|
198
|
+
declare class ExtendsStepDone extends ExtendsStepDone_base {
|
|
199
|
+
readonly [ExtendsStepDecisionTypeId]: symbol;
|
|
200
|
+
}
|
|
201
|
+
declare const ExtendsStepRead_base: S.Class<ExtendsStepRead, S.TaggedStruct<"read", {
|
|
202
|
+
readonly specifier: S.String;
|
|
203
|
+
readonly state: S.Struct<{
|
|
204
|
+
readonly visited: S.$Array<S.String>;
|
|
205
|
+
readonly documents: S.$Array<S.Struct<{
|
|
206
|
+
readonly path: S.String;
|
|
207
|
+
readonly options: S.$Record<S.String, S.Unknown>;
|
|
208
|
+
}>>;
|
|
209
|
+
}>;
|
|
210
|
+
}>, {}>;
|
|
211
|
+
declare class ExtendsStepRead extends ExtendsStepRead_base {
|
|
212
|
+
readonly [ExtendsStepDecisionTypeId]: symbol;
|
|
213
|
+
}
|
|
214
|
+
declare const ExtendsStepResolve_base: S.Class<ExtendsStepResolve, S.TaggedStruct<"resolve", {
|
|
215
|
+
readonly specifier: S.String;
|
|
216
|
+
readonly state: S.Struct<{
|
|
217
|
+
readonly visited: S.$Array<S.String>;
|
|
218
|
+
readonly documents: S.$Array<S.Struct<{
|
|
219
|
+
readonly path: S.String;
|
|
220
|
+
readonly options: S.$Record<S.String, S.Unknown>;
|
|
221
|
+
}>>;
|
|
222
|
+
}>;
|
|
223
|
+
}>, {}>;
|
|
224
|
+
declare class ExtendsStepResolve extends ExtendsStepResolve_base {
|
|
225
|
+
readonly [ExtendsStepDecisionTypeId]: symbol;
|
|
226
|
+
}
|
|
227
|
+
declare const ExtendsStepRefused_base: S.Class<ExtendsStepRefused, S.TaggedStruct<"refused", {
|
|
228
|
+
readonly reason: S.Literals<readonly ["cycle", "non-string-extends"]>;
|
|
229
|
+
readonly file: S.String;
|
|
230
|
+
}>, {}>;
|
|
231
|
+
declare class ExtendsStepRefused extends ExtendsStepRefused_base {
|
|
232
|
+
readonly [ExtendsStepDecisionTypeId]: symbol;
|
|
233
|
+
}
|
|
234
|
+
type ExtendsStepDecision = ExtendsStepDone | ExtendsStepRead | ExtendsStepResolve | ExtendsStepRefused;
|
|
235
|
+
declare const ExtendsStepCommand_base: S.Class<ExtendsStepCommand, S.TaggedStruct<"ExtendsStepCommand", {
|
|
236
|
+
readonly state: S.Struct<{
|
|
237
|
+
readonly visited: S.$Array<S.String>;
|
|
238
|
+
readonly documents: S.$Array<S.Struct<{
|
|
239
|
+
readonly path: S.String;
|
|
240
|
+
readonly options: S.$Record<S.String, S.Unknown>;
|
|
241
|
+
}>>;
|
|
242
|
+
}>;
|
|
243
|
+
readonly document: S.$Record<S.String, S.Unknown>;
|
|
244
|
+
readonly file: S.String;
|
|
245
|
+
}>, {}>;
|
|
246
|
+
declare class ExtendsStepCommand extends ExtendsStepCommand_base {
|
|
247
|
+
static readonly [Workflow.InstrumentationBrand]: {};
|
|
248
|
+
}
|
|
249
|
+
declare const extendsStep: (command: ExtendsStepCommand) => ExtendsStepDecision;
|
|
250
|
+
//#endregion
|
|
251
|
+
//#region src/drivers/config.d.ts
|
|
252
|
+
declare function importModule<A = unknown>(moduleName: string): Effect.Effect<A, StrykerError>;
|
|
253
|
+
declare const initialExtendsStepState: ExtendsStepState;
|
|
254
|
+
declare const decideExtendsStep: typeof extendsStep;
|
|
255
|
+
type ConfigReadError = ConfigFileNotFoundError | ConfigFileUnreadableError | ConfigFileInvalidError | ConfigFileUnsupportedError;
|
|
256
|
+
//#endregion
|
|
225
257
|
//#region src/matching.schema.d.ts
|
|
226
258
|
declare const FileMatcher_base: S.Class<FileMatcher, S.Struct<{
|
|
227
259
|
readonly pattern: S.Union<readonly [S.Boolean, S.String]>;
|
|
228
260
|
readonly allowHiddenFiles: S.Boolean;
|
|
229
261
|
}>, {}>;
|
|
230
|
-
declare class FileMatcher extends FileMatcher_base {
|
|
231
|
-
matches(pathService: Path.Path, fileName: string): boolean;
|
|
232
|
-
}
|
|
262
|
+
declare class FileMatcher extends FileMatcher_base {}
|
|
233
263
|
//#endregion
|
|
234
264
|
//#region src/run/resolve-config.workflow.d.ts
|
|
235
265
|
declare const LoadConfigDecisionTypeId: unique symbol;
|
|
@@ -244,7 +274,7 @@ declare const ConfigFromFile_base: S.Class<ConfigFromFile, S.TaggedStruct<"Confi
|
|
|
244
274
|
readonly options: S.optionalKey<S.$Record<S.String, S.Unknown>>;
|
|
245
275
|
}>>, never>;
|
|
246
276
|
readonly checkerNodeArgs: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
247
|
-
readonly concurrency: S.optionalKey<S.Union<readonly [S.
|
|
277
|
+
readonly concurrency: S.optionalKey<S.Union<readonly [S.Int, S.String]>>;
|
|
248
278
|
readonly commandRunner: S.withDecodingDefaultKey<S.StructWithRest<S.Struct<{
|
|
249
279
|
readonly command: S.withDecodingDefaultKey<S.String, never>;
|
|
250
280
|
}>, readonly [S.$Record<S.String, S.Unknown>]>, never>;
|
|
@@ -253,7 +283,7 @@ declare const ConfigFromFile_base: S.Class<ConfigFromFile, S.TaggedStruct<"Confi
|
|
|
253
283
|
readonly allowColor: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
254
284
|
readonly allowEmojis: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
255
285
|
readonly logTests: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
256
|
-
readonly maxTestsToLog: S.withDecodingDefaultKey<S.
|
|
286
|
+
readonly maxTestsToLog: S.withDecodingDefaultKey<S.Int, never>;
|
|
257
287
|
readonly reportTests: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
258
288
|
readonly reportMutants: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
259
289
|
readonly reportScoreTable: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
@@ -269,8 +299,8 @@ declare const ConfigFromFile_base: S.Class<ConfigFromFile, S.TaggedStruct<"Confi
|
|
|
269
299
|
readonly fileLogLevel: S.withDecodingDefaultKey<S.Literals<readonly ["off", "fatal", "error", "warn", "info", "debug", "trace"]>, never>;
|
|
270
300
|
readonly inPlace: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
271
301
|
readonly logLevel: S.withDecodingDefaultKey<S.Literals<readonly ["off", "fatal", "error", "warn", "info", "debug", "trace"]>, never>;
|
|
272
|
-
readonly maxConcurrentTestRunners: S.withDecodingDefaultKey<S.
|
|
273
|
-
readonly maxTestRunnerReuse: S.withDecodingDefaultKey<S.
|
|
302
|
+
readonly maxConcurrentTestRunners: S.withDecodingDefaultKey<S.Int, never>;
|
|
303
|
+
readonly maxTestRunnerReuse: S.withDecodingDefaultKey<S.Int, never>;
|
|
274
304
|
readonly mutate: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
275
305
|
readonly mutator: S.withDecodingDefaultKey<S.Struct<{
|
|
276
306
|
readonly excludedMutations: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
@@ -310,7 +340,7 @@ declare const ConfigFromFile_base: S.Class<ConfigFromFile, S.TaggedStruct<"Confi
|
|
|
310
340
|
readonly break: S.withDecodingDefaultKey<S.NullOr<S.Finite>, never>;
|
|
311
341
|
}>, never, never>, never>;
|
|
312
342
|
readonly timeoutFactor: S.withDecodingDefaultKey<S.Finite, never>;
|
|
313
|
-
readonly timeoutMS: S.withDecodingDefaultKey<S.
|
|
343
|
+
readonly timeoutMS: S.withDecodingDefaultKey<S.Int, never>;
|
|
314
344
|
readonly dryRunTimeoutMinutes: S.withDecodingDefaultKey<S.Finite, never>;
|
|
315
345
|
readonly tsconfigFile: S.withDecodingDefaultKey<S.String, never>;
|
|
316
346
|
readonly warnings: S.withDecodingDefaultKey<S.Union<readonly [S.Boolean, S.StructWithRest<S.Struct<{
|
|
@@ -339,7 +369,7 @@ declare const ConfigFromDefaults_base: S.Class<ConfigFromDefaults, S.TaggedStruc
|
|
|
339
369
|
readonly options: S.optionalKey<S.$Record<S.String, S.Unknown>>;
|
|
340
370
|
}>>, never>;
|
|
341
371
|
readonly checkerNodeArgs: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
342
|
-
readonly concurrency: S.optionalKey<S.Union<readonly [S.
|
|
372
|
+
readonly concurrency: S.optionalKey<S.Union<readonly [S.Int, S.String]>>;
|
|
343
373
|
readonly commandRunner: S.withDecodingDefaultKey<S.StructWithRest<S.Struct<{
|
|
344
374
|
readonly command: S.withDecodingDefaultKey<S.String, never>;
|
|
345
375
|
}>, readonly [S.$Record<S.String, S.Unknown>]>, never>;
|
|
@@ -348,7 +378,7 @@ declare const ConfigFromDefaults_base: S.Class<ConfigFromDefaults, S.TaggedStruc
|
|
|
348
378
|
readonly allowColor: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
349
379
|
readonly allowEmojis: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
350
380
|
readonly logTests: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
351
|
-
readonly maxTestsToLog: S.withDecodingDefaultKey<S.
|
|
381
|
+
readonly maxTestsToLog: S.withDecodingDefaultKey<S.Int, never>;
|
|
352
382
|
readonly reportTests: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
353
383
|
readonly reportMutants: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
354
384
|
readonly reportScoreTable: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
@@ -364,8 +394,8 @@ declare const ConfigFromDefaults_base: S.Class<ConfigFromDefaults, S.TaggedStruc
|
|
|
364
394
|
readonly fileLogLevel: S.withDecodingDefaultKey<S.Literals<readonly ["off", "fatal", "error", "warn", "info", "debug", "trace"]>, never>;
|
|
365
395
|
readonly inPlace: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
366
396
|
readonly logLevel: S.withDecodingDefaultKey<S.Literals<readonly ["off", "fatal", "error", "warn", "info", "debug", "trace"]>, never>;
|
|
367
|
-
readonly maxConcurrentTestRunners: S.withDecodingDefaultKey<S.
|
|
368
|
-
readonly maxTestRunnerReuse: S.withDecodingDefaultKey<S.
|
|
397
|
+
readonly maxConcurrentTestRunners: S.withDecodingDefaultKey<S.Int, never>;
|
|
398
|
+
readonly maxTestRunnerReuse: S.withDecodingDefaultKey<S.Int, never>;
|
|
369
399
|
readonly mutate: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
370
400
|
readonly mutator: S.withDecodingDefaultKey<S.Struct<{
|
|
371
401
|
readonly excludedMutations: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
@@ -405,7 +435,7 @@ declare const ConfigFromDefaults_base: S.Class<ConfigFromDefaults, S.TaggedStruc
|
|
|
405
435
|
readonly break: S.withDecodingDefaultKey<S.NullOr<S.Finite>, never>;
|
|
406
436
|
}>, never, never>, never>;
|
|
407
437
|
readonly timeoutFactor: S.withDecodingDefaultKey<S.Finite, never>;
|
|
408
|
-
readonly timeoutMS: S.withDecodingDefaultKey<S.
|
|
438
|
+
readonly timeoutMS: S.withDecodingDefaultKey<S.Int, never>;
|
|
409
439
|
readonly dryRunTimeoutMinutes: S.withDecodingDefaultKey<S.Finite, never>;
|
|
410
440
|
readonly tsconfigFile: S.withDecodingDefaultKey<S.String, never>;
|
|
411
441
|
readonly warnings: S.withDecodingDefaultKey<S.Union<readonly [S.Boolean, S.StructWithRest<S.Struct<{
|
|
@@ -424,40 +454,28 @@ declare class ConfigFromDefaults extends ConfigFromDefaults_base {
|
|
|
424
454
|
readonly [LoadConfigDecisionTypeId]: symbol;
|
|
425
455
|
static readonly [Workflow.InstrumentationBrand]: {};
|
|
426
456
|
}
|
|
427
|
-
declare const LoadConfigCommand_base: S.Class<LoadConfigCommand, S.TaggedStruct<"LoadConfigCommand", {
|
|
428
|
-
readonly document: S.$Record<S.String, S.Unknown>;
|
|
429
|
-
readonly fileFound: S.Boolean;
|
|
430
|
-
}>, {}>;
|
|
431
|
-
declare class LoadConfigCommand extends LoadConfigCommand_base {
|
|
432
|
-
static readonly [Workflow.InstrumentationBrand]: {};
|
|
433
|
-
}
|
|
434
457
|
//#endregion
|
|
435
|
-
//#region src/run/
|
|
436
|
-
declare function describeErrors(error: S.SchemaError): readonly string[];
|
|
437
|
-
declare function importModule<A = unknown>(moduleName: string): Effect.Effect<A, StrykerError>;
|
|
438
|
-
declare const initialExtendsStepState: ExtendsStepState;
|
|
439
|
-
declare const mergeConfigs: ((child: mod_d_exports$2$1.PartialStrykerOptions) => (parent: mod_d_exports$2$1.PartialStrykerOptions) => mod_d_exports$2$1.PartialStrykerOptions) & ((parent: mod_d_exports$2$1.PartialStrykerOptions, child: mod_d_exports$2$1.PartialStrykerOptions) => mod_d_exports$2$1.PartialStrykerOptions);
|
|
440
|
-
declare const decideExtendsStep: ((document: mod_d_exports$2$1.PartialStrykerOptions, file: string, pathService: Path.Path) => (state: ExtendsStepState) => ExtendsStepDecision) & ((state: ExtendsStepState, document: mod_d_exports$2$1.PartialStrykerOptions, file: string, pathService: Path.Path) => ExtendsStepDecision);
|
|
458
|
+
//#region src/run/validate-options-admission.workflow.d.ts
|
|
441
459
|
type ValidationSchemaDocument<A = unknown> = {
|
|
442
460
|
readonly properties?: A;
|
|
443
461
|
readonly [key: string]: A;
|
|
444
462
|
};
|
|
445
|
-
|
|
446
|
-
|
|
463
|
+
//#endregion
|
|
464
|
+
//#region src/run/load-config.cell.d.ts
|
|
447
465
|
interface ConfigInvocation {
|
|
448
466
|
readonly command: 'run' | 'merge-reports';
|
|
449
|
-
readonly mode: OutputMode
|
|
467
|
+
readonly mode: OutputMode;
|
|
450
468
|
}
|
|
451
|
-
|
|
452
|
-
|
|
469
|
+
declare const forkCoreSchema: import("effect/JsonSchema").JsonSchema;
|
|
470
|
+
declare const describeErrors: (error: S.SchemaError) => readonly string[];
|
|
453
471
|
declare const readConfig: {
|
|
454
|
-
(invocation: ConfigInvocation): (cliOptions: mod_d_exports$2$1.PartialStrykerOptions) => Effect.Effect<mod_d_exports$2$1.StrykerOptions,
|
|
455
|
-
(cliOptions: mod_d_exports$2$1.PartialStrykerOptions, invocation: ConfigInvocation): Effect.Effect<mod_d_exports$2$1.StrykerOptions,
|
|
472
|
+
(invocation: ConfigInvocation): (cliOptions: mod_d_exports$2$1.PartialStrykerOptions) => Effect.Effect<mod_d_exports$2$1.StrykerOptions, ConfigReadError, FileSystem.FileSystem | Path.Path>;
|
|
473
|
+
(cliOptions: mod_d_exports$2$1.PartialStrykerOptions, invocation: ConfigInvocation): Effect.Effect<mod_d_exports$2$1.StrykerOptions, ConfigReadError, FileSystem.FileSystem | Path.Path>;
|
|
456
474
|
};
|
|
457
475
|
declare const loadConfigCell: Sandwich.WrittenFrom<{
|
|
458
476
|
readonly cliOptions: mod_d_exports$2$1.PartialStrykerOptions;
|
|
459
477
|
readonly targetMutatePatterns: readonly string[] | undefined;
|
|
460
|
-
},
|
|
478
|
+
}, ConfigReadError, FileSystem.FileSystem | Path.Path | RunEnvironment | RunEvents, S.Union<readonly [typeof ConfigFromFile, typeof ConfigFromDefaults]>, {
|
|
461
479
|
ConfigFromFile: ({ options }: {
|
|
462
480
|
readonly _tag: "ConfigFromFile";
|
|
463
481
|
readonly options: {
|
|
@@ -549,7 +567,12 @@ declare const loadConfigCell: Sandwich.WrittenFrom<{
|
|
|
549
567
|
readonly ignorers: readonly string[];
|
|
550
568
|
readonly testFiles: readonly string[];
|
|
551
569
|
};
|
|
552
|
-
}, raw:
|
|
570
|
+
}, raw: {
|
|
571
|
+
_tag: "LoadConfigCommand";
|
|
572
|
+
document: {
|
|
573
|
+
readonly [x: string]: unknown;
|
|
574
|
+
};
|
|
575
|
+
fileFound: boolean;
|
|
553
576
|
targetMutatePatterns: readonly string[] | undefined;
|
|
554
577
|
basePath: string;
|
|
555
578
|
}) => Effect.Effect<{
|
|
@@ -736,7 +759,12 @@ declare const loadConfigCell: Sandwich.WrittenFrom<{
|
|
|
736
759
|
readonly ignorers: readonly string[];
|
|
737
760
|
readonly testFiles: readonly string[];
|
|
738
761
|
};
|
|
739
|
-
}, raw:
|
|
762
|
+
}, raw: {
|
|
763
|
+
_tag: "LoadConfigCommand";
|
|
764
|
+
document: {
|
|
765
|
+
readonly [x: string]: unknown;
|
|
766
|
+
};
|
|
767
|
+
fileFound: boolean;
|
|
740
768
|
targetMutatePatterns: readonly string[] | undefined;
|
|
741
769
|
basePath: string;
|
|
742
770
|
}) => Effect.Effect<{
|
|
@@ -838,6 +866,7 @@ declare const loadConfigCell: Sandwich.WrittenFrom<{
|
|
|
838
866
|
}) => Effect.Effect<never, ConfigError, RunEnvironment | RunEvents>;
|
|
839
867
|
CommandRejected: ({ issue }: Sandwich.CommandRejected) => Effect.Effect<never, ConfigError, RunEnvironment | RunEvents>;
|
|
840
868
|
}>;
|
|
869
|
+
declare const validateOptions: (<A = unknown>(schema: ValidationSchemaDocument) => (options: Record<string, A>) => Effect.Effect<mod_d_exports$2$1.StrykerOptions, ConfigError>) & (<A = unknown>(options: Record<string, A>, schema: ValidationSchemaDocument) => Effect.Effect<mod_d_exports$2$1.StrykerOptions, ConfigError>);
|
|
841
870
|
declare namespace mod_d_exports$1 {
|
|
842
871
|
export { ConfigDocumentSchema, ConfigError, ConfigFileInvalidError, ConfigFileNotFoundError, ConfigFileUnreadableError, ConfigFileUnsupportedError, ConfigInvocation, ExtendsRefusalReason, ExtendsStepDecision, ExtendsStepDocument, ExtendsStepDocumentSchema, ExtendsStepDone, ExtendsStepRead, ExtendsStepRefused, ExtendsStepResolve, ExtendsStepState, ExtendsStepStateSchema, FileMatcher, Immutable, ImmutablePrimitive, ImportedModuleSchema, MergeCommand, MergeResult, Primitive, ReadConfigCommand, ValidationSchemaDocument, createDefaultOptions, decideExtendsStep, defaultOptions, describeErrors, extendsPropertySchema, forkCoreSchema, forkOptionsSchema, importModule, initialExtendsStepState, loadConfigCell, mergeConfigs, readConfig, survivorsPriorReport, validateOptions };
|
|
843
872
|
}
|
|
@@ -845,65 +874,6 @@ declare namespace mod_d_exports$1 {
|
|
|
845
874
|
//#region src/drivers/node.d.ts
|
|
846
875
|
declare const nodePlatformLayer: Layer.Layer<EnginePorts>;
|
|
847
876
|
//#endregion
|
|
848
|
-
//#region src/IncrementalReport.schema.d.ts
|
|
849
|
-
declare const IncrementalReportSchema: S.StructWithRest<S.Struct<{
|
|
850
|
-
readonly incrementalVersion: S.String;
|
|
851
|
-
readonly schemaVersion: S.String;
|
|
852
|
-
readonly thresholds: S.Struct<{
|
|
853
|
-
readonly high: S.Finite;
|
|
854
|
-
readonly low: S.Finite;
|
|
855
|
-
}>;
|
|
856
|
-
readonly files: S.$Record<S.String, S.Struct<{
|
|
857
|
-
readonly language: S.String;
|
|
858
|
-
readonly source: S.String;
|
|
859
|
-
readonly mutants: S.$Array<S.Struct<{
|
|
860
|
-
readonly id: S.String;
|
|
861
|
-
readonly mutatorName: S.String;
|
|
862
|
-
readonly replacement: S.String;
|
|
863
|
-
readonly location: S.Struct<{
|
|
864
|
-
readonly start: S.Struct<{
|
|
865
|
-
readonly line: S.Finite;
|
|
866
|
-
readonly column: S.Finite;
|
|
867
|
-
}>;
|
|
868
|
-
readonly end: S.Struct<{
|
|
869
|
-
readonly line: S.Finite;
|
|
870
|
-
readonly column: S.Finite;
|
|
871
|
-
}>;
|
|
872
|
-
}>;
|
|
873
|
-
readonly status: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "Timeout", "CompileError", "RuntimeError", "Ignored", "Pending"]>;
|
|
874
|
-
readonly killedBy: S.optional<S.$Array<S.String>>;
|
|
875
|
-
readonly coveredBy: S.optional<S.$Array<S.String>>;
|
|
876
|
-
readonly static: S.optional<S.Boolean>;
|
|
877
|
-
readonly statusReason: S.optional<S.String>;
|
|
878
|
-
readonly testsCompleted: S.optional<S.Finite>;
|
|
879
|
-
readonly description: S.optional<S.String>;
|
|
880
|
-
readonly duration: S.optional<S.Finite>;
|
|
881
|
-
}>>;
|
|
882
|
-
readonly formatIdentity: S.optional<S.Struct<{
|
|
883
|
-
readonly formatId: S.String;
|
|
884
|
-
readonly ownerModule: S.String;
|
|
885
|
-
readonly ownerVersion: S.String;
|
|
886
|
-
}>>;
|
|
887
|
-
}>>;
|
|
888
|
-
readonly testFiles: S.optional<S.$Record<S.String, S.Struct<{
|
|
889
|
-
readonly source: S.optional<S.String>;
|
|
890
|
-
readonly tests: S.$Array<S.Struct<{
|
|
891
|
-
readonly id: S.String;
|
|
892
|
-
readonly name: S.String;
|
|
893
|
-
readonly location: S.optional<S.Struct<{
|
|
894
|
-
readonly start: S.Struct<{
|
|
895
|
-
readonly line: S.Finite;
|
|
896
|
-
readonly column: S.Finite;
|
|
897
|
-
}>;
|
|
898
|
-
readonly end: S.optional<S.Struct<{
|
|
899
|
-
readonly line: S.Finite;
|
|
900
|
-
readonly column: S.Finite;
|
|
901
|
-
}>>;
|
|
902
|
-
}>>;
|
|
903
|
-
}>>;
|
|
904
|
-
}>>>;
|
|
905
|
-
}>, readonly [S.$Record<S.String, S.Unknown>]>;
|
|
906
|
-
//#endregion
|
|
907
877
|
//#region src/run/host.service.d.ts
|
|
908
878
|
type StrykerRun = (options: mod_d_exports$2$1.PartialStrykerOptions, targetMutatePatterns?: string[]) => Effect.Effect<MutationTestDone, StageError, never>;
|
|
909
879
|
//#endregion
|
|
@@ -917,6 +887,9 @@ declare namespace mod_d_exports$2 {
|
|
|
917
887
|
export { DryRunDone, EnginePorts, IdGenerator, IdGeneratorShape, IncrementalReportSchema, InstrumentDone, MutationTestDone, PrepareDone, PrepareExecutorArgs, Project, ProjectFile, RunEnvironment, RunEnvironmentShape, RunStageServices, SandboxHandle, StageError, StageServices, StrykerError, StrykerRun, TestCoverage, WiredRunLayer, mutationTestCell, nodePlatformLayer, strykerCell };
|
|
918
888
|
}
|
|
919
889
|
//#endregion
|
|
890
|
+
//#region src/TestRunner.schema.d.ts
|
|
891
|
+
type PooledTestRunnerError = mod_d_exports$6$1.TestRunnerFailed | ChildProcessCrashedError | OutOfMemoryError;
|
|
892
|
+
//#endregion
|
|
920
893
|
//#region src/pooled-test-runner.handle.d.ts
|
|
921
894
|
declare const TypeId: unique symbol;
|
|
922
895
|
type TypeId = typeof TypeId;
|
|
@@ -964,84 +937,90 @@ declare namespace mod_d_exports$3 {
|
|
|
964
937
|
}
|
|
965
938
|
//#endregion
|
|
966
939
|
//#region src/reporting/metrics-from-report.schema.d.ts
|
|
967
|
-
type Files = Readonly<Record<string, mod_d_exports$4$1.FileResult>>;
|
|
968
940
|
declare const MetricsResultFromReport_base: S.Class<MetricsResultFromReport, S.Struct<{
|
|
969
941
|
readonly name: S.String;
|
|
970
942
|
readonly metrics: typeof mod_d_exports$4$1.Metrics;
|
|
971
943
|
readonly childResults: S.$Array<S.suspend<S.Codec<mod_d_exports$4$1.MetricsResult, mod_d_exports$4$1.MetricsResultEncoded, never, never>>>;
|
|
972
944
|
}>, mod_d_exports$4$1.MetricsResultEncoded>;
|
|
973
|
-
declare class MetricsResultFromReport extends MetricsResultFromReport_base {
|
|
974
|
-
|
|
975
|
-
|
|
945
|
+
declare class MetricsResultFromReport extends MetricsResultFromReport_base {}
|
|
946
|
+
//#endregion
|
|
947
|
+
//#region src/reporting/metrics-from-report.d.ts
|
|
948
|
+
type Files = Readonly<Record<string, mod_d_exports$4$1.FileResult>>;
|
|
949
|
+
declare const metricsResultFromFiles: (files: Files) => MetricsResultFromReport;
|
|
976
950
|
//#endregion
|
|
977
951
|
//#region src/reporting/verdict-envelope.schema.d.ts
|
|
978
|
-
declare const VerdictMutant: S.Struct<{
|
|
979
|
-
readonly id: S.String;
|
|
980
|
-
readonly file: S.String;
|
|
981
|
-
readonly location: S.Struct<{
|
|
982
|
-
readonly start: S.Struct<{
|
|
983
|
-
readonly line: S.Int;
|
|
984
|
-
readonly column: S.Int;
|
|
985
|
-
}>;
|
|
986
|
-
readonly end: S.Struct<{
|
|
987
|
-
readonly line: S.Int;
|
|
988
|
-
readonly column: S.Int;
|
|
989
|
-
}>;
|
|
990
|
-
}>;
|
|
991
|
-
readonly mutator: S.String;
|
|
992
|
-
readonly replacement: S.NullOr<S.String>;
|
|
993
|
-
readonly status: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>;
|
|
994
|
-
}>;
|
|
995
|
-
type VerdictMutant = typeof VerdictMutant.Type;
|
|
996
|
-
declare const VerdictThresholds: S.Struct<{
|
|
997
|
-
readonly high: S.Finite;
|
|
998
|
-
readonly low: S.Finite;
|
|
999
|
-
readonly break: S.NullOr<S.Finite>;
|
|
1000
|
-
}>;
|
|
1001
|
-
type VerdictThresholds = typeof VerdictThresholds.Type;
|
|
1002
|
-
type VerdictCounts = typeof mod_d_exports$4$1.MetricsSchema.Type;
|
|
1003
952
|
declare const VerdictEnvelope_base: S.Class<VerdictEnvelope, S.Struct<{
|
|
1004
|
-
readonly schemaVersion: S.
|
|
1005
|
-
readonly runId: S.String
|
|
953
|
+
readonly schemaVersion: S.Literal<"1.1">;
|
|
954
|
+
readonly runId: S.brand<S.String, "RunId">;
|
|
1006
955
|
readonly mode: S.Literals<readonly ["human", "machine"]>;
|
|
1007
956
|
readonly signal: S.Literals<readonly ["flag", "env", "tty", "agent", "tool"]>;
|
|
1008
957
|
readonly score: S.NullOr<S.Finite>;
|
|
1009
|
-
readonly thresholds: S.
|
|
1010
|
-
readonly high:
|
|
1011
|
-
readonly low:
|
|
1012
|
-
readonly break:
|
|
958
|
+
readonly thresholds: S.declare<{
|
|
959
|
+
readonly high: number;
|
|
960
|
+
readonly low: number;
|
|
961
|
+
readonly break: number | null;
|
|
962
|
+
}, {
|
|
963
|
+
readonly high: number;
|
|
964
|
+
readonly low: number;
|
|
965
|
+
readonly break: number | null;
|
|
1013
966
|
}>;
|
|
1014
967
|
readonly counts: typeof mod_d_exports$4$1.Metrics;
|
|
1015
|
-
readonly reportFile: S.NullOr<S.String
|
|
968
|
+
readonly reportFile: S.NullOr<S.decodeTo<S.brand<S.String, "CanonicalFileName">, S.String, never, never>>;
|
|
1016
969
|
readonly mutants: S.$Array<S.Struct<{
|
|
1017
|
-
readonly id: S.String
|
|
970
|
+
readonly id: S.brand<S.String, "MutantId">;
|
|
1018
971
|
readonly file: S.String;
|
|
1019
|
-
readonly location: S.
|
|
1020
|
-
readonly start:
|
|
1021
|
-
readonly line:
|
|
1022
|
-
readonly column:
|
|
1023
|
-
}
|
|
1024
|
-
readonly end:
|
|
1025
|
-
readonly line:
|
|
1026
|
-
readonly column:
|
|
1027
|
-
}
|
|
972
|
+
readonly location: S.declare<{
|
|
973
|
+
readonly start: {
|
|
974
|
+
readonly line: number;
|
|
975
|
+
readonly column: number;
|
|
976
|
+
};
|
|
977
|
+
readonly end: {
|
|
978
|
+
readonly line: number;
|
|
979
|
+
readonly column: number;
|
|
980
|
+
};
|
|
981
|
+
}, {
|
|
982
|
+
readonly start: {
|
|
983
|
+
readonly line: number;
|
|
984
|
+
readonly column: number;
|
|
985
|
+
};
|
|
986
|
+
readonly end: {
|
|
987
|
+
readonly line: number;
|
|
988
|
+
readonly column: number;
|
|
989
|
+
};
|
|
1028
990
|
}>;
|
|
1029
991
|
readonly mutator: S.String;
|
|
1030
992
|
readonly replacement: S.NullOr<S.String>;
|
|
1031
993
|
readonly status: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>;
|
|
1032
994
|
}>>;
|
|
1033
995
|
}>, {}>;
|
|
1034
|
-
declare class VerdictEnvelope extends VerdictEnvelope_base {
|
|
1035
|
-
static readonly build: ((mode: OutputMode, signal: ModeSignal, runId: string, basePath: string, pathService: Path.Path) => (report: mod_d_exports$4$1.MutationTestResult) => VerdictEnvelope) & ((report: mod_d_exports$4$1.MutationTestResult, mode: OutputMode, signal: ModeSignal, runId: string, basePath: string, pathService: Path.Path) => VerdictEnvelope);
|
|
1036
|
-
}
|
|
996
|
+
declare class VerdictEnvelope extends VerdictEnvelope_base {}
|
|
1037
997
|
//#endregion
|
|
1038
998
|
//#region src/run-event-wire.schema.d.ts
|
|
1039
|
-
declare const RunEventWireLine: S.decodeTo<S.fromJsonString<S.Union<readonly [typeof RunStarted, typeof PhaseEntered, typeof PlanKnown,
|
|
999
|
+
declare const RunEventWireLine: S.decodeTo<S.fromJsonString<S.Union<readonly [typeof RunStarted, typeof PhaseEntered, typeof PlanKnown, S.Codec<RunMutantTested, {
|
|
1000
|
+
readonly _tag: "mutant";
|
|
1001
|
+
readonly id: string;
|
|
1002
|
+
readonly status: "CompileError" | "Ignored" | "Killed" | "NoCoverage" | "Pending" | "RuntimeError" | "Survived" | "Timeout";
|
|
1003
|
+
readonly file: string;
|
|
1004
|
+
readonly location: {
|
|
1005
|
+
readonly start: {
|
|
1006
|
+
readonly line: number;
|
|
1007
|
+
readonly column: number;
|
|
1008
|
+
};
|
|
1009
|
+
readonly end: {
|
|
1010
|
+
readonly line: number;
|
|
1011
|
+
readonly column: number;
|
|
1012
|
+
};
|
|
1013
|
+
};
|
|
1014
|
+
readonly mutator: string;
|
|
1015
|
+
readonly replacement: string | null;
|
|
1016
|
+
readonly completed: number;
|
|
1017
|
+
readonly total: number;
|
|
1018
|
+
}, never, never>, typeof Heartbeat, typeof PluginsReported, typeof FormatRegistryResolved, typeof SkippedReported, typeof VerdictReached, typeof RunFailed, typeof HelpRendered]> & {
|
|
1040
1019
|
QUEUE_BOUND: number;
|
|
1041
1020
|
}>, S.String, never, never>;
|
|
1042
1021
|
type RunEventWireLine = typeof RunEventWireLine.Type;
|
|
1043
1022
|
declare namespace mod_d_exports$4 {
|
|
1044
|
-
export { FormatClaimShadowingRow, FormatRegistryResolved, FormatRegistryRow, FrameworkContributionRow, FrameworkModuleRow, Heartbeat, HelpRendered, MetricsResultFromReport, ModeSignal
|
|
1023
|
+
export { FormatClaimShadowingRow, FormatRegistryResolved, FormatRegistryRow, FrameworkContributionRow, FrameworkModuleRow, Heartbeat, HelpRendered, MetricsResultFromReport, ModeSignal, OutputMode, PhaseEntered, PlanKnown, PluginLoadFailureReason, PluginsReported, ResolvedMode, ResolvedModeInput, RunEvent, RunEventDrain, RunEventDrainLive, RunEventStream, RunEventWireLine, RunEvents, RunFailed, RunIdentity, RunIdentityShape, RunMutantTested, RunPhase, RunStarted, RunTerminalEvent, SkippedFileRow, SkippedReported, VerdictCounts, VerdictEnvelope, VerdictMutant, VerdictReached, makeRunEventStream, metricsResultFromFiles };
|
|
1045
1024
|
}
|
|
1046
1025
|
//#endregion
|
|
1047
1026
|
//#region src/classify-worker-exit.workflow.d.ts
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-8H4AJuhK.mjs";
|
|
2
|
-
import { D as
|
|
3
|
-
import {
|
|
2
|
+
import { $ as ConfigDocumentSchema, A as metricsResultFromFiles, B as initialExtendsStepState, C as readConfig, D as RunEvents, E as IdGenerator, F as WorkerLauncher, G as ExtendsStepResolve, H as ExtendsStepDone, I as make, J as ConfigFileNotFoundError, K as ConfigError, L as FileMatcher, M as reporterWorkerFactory, N as spawnReporterWorker, O as RunIdentity, P as makeWorkerClient, Q as defaultOptions, R as decideExtendsStep, S as loadConfigCell, T as RunEnvironment, U as ExtendsStepRead, V as StrykerError, W as ExtendsStepRefused, X as ConfigFileUnsupportedError, Y as ConfigFileUnreadableError, Z as createDefaultOptions, _ as ClassifyWorkerExitCommand, a as isVmRunner, at as ReadConfigCommand, b as describeErrors, c as vmTestRunnerConfig, ct as survivorsPriorReport, d as RunEventDrainLive, dt as OutOfMemoryError, et as ExtendsStepDocumentSchema, f as makeRunEventStream, ft as WorkerBootTimeoutError, g as layerWorkerProtocol, h as nodePlatformLayer, i as makeChildProcessTestRunner, it as MergeResult, j as MetricsResultFromReport, k as VerdictEnvelope, l as isCommandRunner, lt as checkGroupedPlans, m as IncrementalReportSchema, mt as CheckerSkippedRequested, n as strykerCell, nt as ImportedModuleSchema, o as testRunnerConfigOf, ot as extendsPropertySchema, p as RunEventWireLine, pt as CheckerAnsweredUnrequested, q as ConfigFileInvalidError, r as buildTestRunner, rt as MergeCommand, s as vmRunnerPluginUrl, st as forkOptionsSchema, t as mutationTestCell, tt as ExtendsStepStateSchema, u as RunEventDrain, ut as ChildProcessCrashedError, v as ClassifyWorkerExitDecision, w as validateOptions, x as forkCoreSchema, y as classifyWorkerExit, z as importModule } from "./run-stages.cell-BN__EOCk.mjs";
|
|
3
|
+
import { n as mergeConfigs } from "./merge-config-DA_v1hGx.mjs";
|
|
4
|
+
import { C as SkippedFileRow, E as VerdictReached, S as RunStarted, T as VerdictMutant, _ as RunFailed, a as FormatRegistryRow, b as RunPhase, c as Heartbeat, d as PhaseEntered, f as PlanKnown, g as RunEvent, i as FormatRegistryResolved, k as PluginLoadFailureReason, l as HelpRendered, m as PluginsReported, n as StageError, o as FrameworkContributionRow, r as FormatClaimShadowingRow, s as FrameworkModuleRow, w as SkippedReported, y as RunMutantTested } from "./Run.schema-Bj7b_FMA.mjs";
|
|
4
5
|
//#region src/Checker/mod.ts
|
|
5
6
|
var Checker_exports = /* @__PURE__ */ __exportAll({
|
|
6
7
|
CheckerAnsweredUnrequested: () => CheckerAnsweredUnrequested,
|
|
@@ -81,7 +82,7 @@ var RunEvent_exports = /* @__PURE__ */ __exportAll({
|
|
|
81
82
|
MetricsResultFromReport: () => MetricsResultFromReport,
|
|
82
83
|
PhaseEntered: () => PhaseEntered,
|
|
83
84
|
PlanKnown: () => PlanKnown,
|
|
84
|
-
|
|
85
|
+
PluginLoadFailureReason: () => PluginLoadFailureReason,
|
|
85
86
|
PluginsReported: () => PluginsReported,
|
|
86
87
|
RunEvent: () => RunEvent,
|
|
87
88
|
RunEventDrain: () => RunEventDrain,
|
|
@@ -98,8 +99,8 @@ var RunEvent_exports = /* @__PURE__ */ __exportAll({
|
|
|
98
99
|
VerdictEnvelope: () => VerdictEnvelope,
|
|
99
100
|
VerdictMutant: () => VerdictMutant,
|
|
100
101
|
VerdictReached: () => VerdictReached,
|
|
101
|
-
|
|
102
|
-
|
|
102
|
+
makeRunEventStream: () => makeRunEventStream,
|
|
103
|
+
metricsResultFromFiles: () => metricsResultFromFiles
|
|
103
104
|
});
|
|
104
105
|
//#endregion
|
|
105
106
|
//#region src/Worker/mod.ts
|