@systemfsoftware/stryker-js 2.0.0 → 3.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 +31 -0
- package/dist/{Checker-DYgIIEai.d.mts → Checker-A8o5B3Ub.d.mts} +1 -1
- package/dist/Checker.d.mts +1 -1
- package/dist/{Evaluator-RZBS4oeh.d.mts → Evaluator-CnAN8-pZ.d.mts} +2 -2
- package/dist/Evaluator.d.mts +1 -1
- package/dist/ExitClass.d.mts +1 -1
- package/dist/ExitClass.mjs +20 -31
- package/dist/Metrics.d.mts +7 -0
- package/dist/Metrics.mjs +79 -0
- package/dist/Metrics.schema-BaVd6rXs.d.mts +50 -0
- package/dist/Metrics.schema-DZdoc46X.mjs +27 -0
- package/dist/{Mutant-BPRJTF8f.d.mts → Mutant-Ci25PsWA.d.mts} +6 -6
- package/dist/Mutant.d.mts +3 -2
- package/dist/Mutant.mjs +54 -78
- package/dist/{Mutant.schema-BTWhFTk4.mjs → Mutant.schema-H3r0ho_R.mjs} +3 -3
- package/dist/{Plugin-DcDAIBQi.d.mts → Plugin-CunIOPtw.d.mts} +31 -13
- package/dist/Plugin-DXFdJP1l.mjs +105 -0
- package/dist/Plugin.d.mts +2 -2
- package/dist/Plugin.mjs +2 -2
- package/dist/Report.d.mts +2 -0
- package/dist/Report.mjs +98 -0
- package/dist/Report.schema-_buHXdnZ.d.mts +251 -0
- package/dist/Reporter-BU7qo6MR.d.mts +16 -0
- package/dist/Reporter-BWTwlSJf.mjs +25 -0
- package/dist/Reporter.d.mts +4 -2
- package/dist/Reporter.mjs +3 -2
- package/dist/ReporterEvent.d.mts +2 -0
- package/dist/ReporterEvent.mjs +58 -0
- package/dist/ReporterEvent.schema-Db6r_euv.d.mts +190 -0
- package/dist/{Run-BnmGGgWj.d.mts → Run-CnhaYlAC.d.mts} +6 -12
- package/dist/Run.d.mts +2 -2
- package/dist/Run.mjs +56 -2
- package/dist/{Run-BcDo-hIC.mjs → Run.schema-C4m-b9Ki.mjs} +2 -62
- package/dist/TestRunner.d.mts +1 -1
- package/dist/TestRunner.mjs +57 -2
- package/dist/{TestRunner-DC9U8Unb.mjs → TestRunner.schema-Dy0Wdro2.mjs} +2 -64
- package/dist/index.d.mts +5 -5
- package/dist/index.mjs +4 -4
- package/dist/provided-options.d.mts +1 -1
- package/package.json +10 -7
- package/dist/Plugin-Ceh1G8Dz.mjs +0 -117
- package/dist/Reporter-COVWW1my.mjs +0 -33
- package/dist/Reporter-eZ3M7lO6.d.mts +0 -83
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { t as LocationSchema } from "./Mutant.schema-H3r0ho_R.mjs";
|
|
2
|
+
import { MutationTestResultSchema } from "./Report.mjs";
|
|
3
|
+
import { t as MetricsResultSchema } from "./Metrics.schema-DZdoc46X.mjs";
|
|
4
|
+
import { i as MutantStatus } from "./Run.schema-C4m-b9Ki.mjs";
|
|
5
|
+
import { d as TestRunnerCapabilitiesSchema, u as TestResultSchema } from "./TestRunner.schema-Dy0Wdro2.mjs";
|
|
6
|
+
import * as S from "effect/Schema";
|
|
7
|
+
import { Wire } from "@systemfsoftware/effect-cell-types";
|
|
8
|
+
//#region src/ReporterEvent.schema.ts
|
|
9
|
+
const ReporterEventKind = S.Literals([
|
|
10
|
+
"dryRunCompleted",
|
|
11
|
+
"mutationTestingPlanReady",
|
|
12
|
+
"mutantTested",
|
|
13
|
+
"mutationTestReportReady"
|
|
14
|
+
]);
|
|
15
|
+
const RunTimingSchema = Wire.wire({
|
|
16
|
+
net: Wire.mint(S.Finite),
|
|
17
|
+
overhead: Wire.mint(S.Finite)
|
|
18
|
+
});
|
|
19
|
+
const ReporterPlanKind = S.Literals(["EarlyResult", "Run"]);
|
|
20
|
+
const ReporterPlanDescriptorSchema = Wire.wire({
|
|
21
|
+
mutantId: Wire.mint(S.String),
|
|
22
|
+
plan: Wire.mint(ReporterPlanKind),
|
|
23
|
+
netTime: Wire.mint(S.Finite),
|
|
24
|
+
reloadEnvironment: Wire.mint(S.Boolean)
|
|
25
|
+
});
|
|
26
|
+
var DryRunCompleted = class extends S.TaggedClass()("dryRunCompleted", {
|
|
27
|
+
timing: RunTimingSchema,
|
|
28
|
+
capabilities: TestRunnerCapabilitiesSchema,
|
|
29
|
+
testCount: Wire.mint(S.Finite),
|
|
30
|
+
tests: S.Array(TestResultSchema)
|
|
31
|
+
}) {};
|
|
32
|
+
var MutationTestingPlanReady = class extends S.TaggedClass()("mutationTestingPlanReady", {
|
|
33
|
+
total: Wire.mint(S.Finite),
|
|
34
|
+
plans: S.Array(ReporterPlanDescriptorSchema)
|
|
35
|
+
}) {};
|
|
36
|
+
var MutantTested = class extends S.TaggedClass()("mutantTested", {
|
|
37
|
+
id: Wire.mint(S.String),
|
|
38
|
+
status: MutantStatus,
|
|
39
|
+
file: Wire.mint(S.String),
|
|
40
|
+
location: LocationSchema,
|
|
41
|
+
mutator: Wire.mint(S.String),
|
|
42
|
+
replacement: Wire.mint(S.NullOr(Wire.mint(S.String))),
|
|
43
|
+
completed: Wire.mint(S.Finite),
|
|
44
|
+
total: Wire.mint(S.Finite)
|
|
45
|
+
}) {};
|
|
46
|
+
var MutationTestReportReady = class extends S.TaggedClass()("mutationTestReportReady", {
|
|
47
|
+
report: MutationTestResultSchema,
|
|
48
|
+
metrics: MetricsResultSchema
|
|
49
|
+
}) {};
|
|
50
|
+
const ReporterEventUnion = S.Union([
|
|
51
|
+
DryRunCompleted,
|
|
52
|
+
MutationTestingPlanReady,
|
|
53
|
+
MutantTested,
|
|
54
|
+
MutationTestReportReady
|
|
55
|
+
]);
|
|
56
|
+
const ReporterEventSchema = S.toStandardSchemaV1(ReporterEventUnion);
|
|
57
|
+
//#endregion
|
|
58
|
+
export { DryRunCompleted, MutantTested, MutationTestReportReady, MutationTestingPlanReady, ReporterEventKind, ReporterEventSchema, ReporterEventUnion };
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
import { n as MetricsResult } from "./Metrics.schema-BaVd6rXs.mjs";
|
|
2
|
+
import { m as StrykerOptions } from "./Schema-CXKiLnTu.mjs";
|
|
3
|
+
import * as S from "effect/Schema";
|
|
4
|
+
import { Wire } from "@systemfsoftware/effect-cell-types";
|
|
5
|
+
import { StandardSchemaV1 } from "effect/StandardSchema";
|
|
6
|
+
//#region src/ReporterEvent.schema.d.ts
|
|
7
|
+
declare const ReporterEventKind: S.Literals<readonly ["dryRunCompleted", "mutationTestingPlanReady", "mutantTested", "mutationTestReportReady"]>;
|
|
8
|
+
type ReporterEventKind = typeof ReporterEventKind.Type;
|
|
9
|
+
declare const RunTimingSchema: S.Struct<{
|
|
10
|
+
net: S.Finite & Wire.Mark;
|
|
11
|
+
overhead: S.Finite & Wire.Mark;
|
|
12
|
+
}> & Wire.Mark;
|
|
13
|
+
type RunTiming = typeof RunTimingSchema.Type;
|
|
14
|
+
declare const ReporterPlanDescriptorSchema: S.Struct<{
|
|
15
|
+
mutantId: S.String & Wire.Mark;
|
|
16
|
+
plan: S.Literals<readonly ["EarlyResult", "Run"]> & Wire.Mark;
|
|
17
|
+
netTime: S.Finite & Wire.Mark;
|
|
18
|
+
reloadEnvironment: S.Boolean & Wire.Mark;
|
|
19
|
+
}> & Wire.Mark;
|
|
20
|
+
type ReporterPlanDescriptor = typeof ReporterPlanDescriptorSchema.Type;
|
|
21
|
+
declare const DryRunCompleted_base: S.Class<DryRunCompleted, S.TaggedStruct<"dryRunCompleted", {
|
|
22
|
+
readonly timing: S.Struct<{
|
|
23
|
+
net: S.Finite & Wire.Mark;
|
|
24
|
+
overhead: S.Finite & Wire.Mark;
|
|
25
|
+
}> & Wire.Mark;
|
|
26
|
+
readonly capabilities: S.Struct<{
|
|
27
|
+
readonly reloadEnvironment: S.Boolean;
|
|
28
|
+
}>;
|
|
29
|
+
readonly testCount: S.Finite & Wire.Mark;
|
|
30
|
+
readonly tests: S.$Array<S.Union<readonly [S.Struct<{
|
|
31
|
+
readonly id: S.String;
|
|
32
|
+
readonly name: S.String;
|
|
33
|
+
readonly timeSpentMs: S.Finite;
|
|
34
|
+
readonly fileName: S.optionalKey<S.String>;
|
|
35
|
+
readonly startPosition: S.optionalKey<S.Struct<{
|
|
36
|
+
readonly line: S.Finite;
|
|
37
|
+
readonly column: S.Finite;
|
|
38
|
+
}>>;
|
|
39
|
+
readonly status: S.Literal<"failed">;
|
|
40
|
+
readonly failureMessage: S.String;
|
|
41
|
+
}>, S.Struct<{
|
|
42
|
+
readonly id: S.String;
|
|
43
|
+
readonly name: S.String;
|
|
44
|
+
readonly timeSpentMs: S.Finite;
|
|
45
|
+
readonly fileName: S.optionalKey<S.String>;
|
|
46
|
+
readonly startPosition: S.optionalKey<S.Struct<{
|
|
47
|
+
readonly line: S.Finite;
|
|
48
|
+
readonly column: S.Finite;
|
|
49
|
+
}>>;
|
|
50
|
+
readonly status: S.Literal<"skipped">;
|
|
51
|
+
}>, S.Struct<{
|
|
52
|
+
readonly id: S.String;
|
|
53
|
+
readonly name: S.String;
|
|
54
|
+
readonly timeSpentMs: S.Finite;
|
|
55
|
+
readonly fileName: S.optionalKey<S.String>;
|
|
56
|
+
readonly startPosition: S.optionalKey<S.Struct<{
|
|
57
|
+
readonly line: S.Finite;
|
|
58
|
+
readonly column: S.Finite;
|
|
59
|
+
}>>;
|
|
60
|
+
readonly status: S.Literal<"success">;
|
|
61
|
+
}>]>>;
|
|
62
|
+
}>, {}>;
|
|
63
|
+
declare class DryRunCompleted extends DryRunCompleted_base {}
|
|
64
|
+
declare const MutationTestingPlanReady_base: S.Class<MutationTestingPlanReady, S.TaggedStruct<"mutationTestingPlanReady", {
|
|
65
|
+
readonly total: S.Finite & Wire.Mark;
|
|
66
|
+
readonly plans: S.$Array<S.Struct<{
|
|
67
|
+
mutantId: S.String & Wire.Mark;
|
|
68
|
+
plan: S.Literals<readonly ["EarlyResult", "Run"]> & Wire.Mark;
|
|
69
|
+
netTime: S.Finite & Wire.Mark;
|
|
70
|
+
reloadEnvironment: S.Boolean & Wire.Mark;
|
|
71
|
+
}> & Wire.Mark>;
|
|
72
|
+
}>, {}>;
|
|
73
|
+
declare class MutationTestingPlanReady extends MutationTestingPlanReady_base {}
|
|
74
|
+
declare const MutantTested_base: S.Class<MutantTested, S.TaggedStruct<"mutantTested", {
|
|
75
|
+
readonly id: S.String & Wire.Mark;
|
|
76
|
+
readonly status: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "Timeout", "CompileError", "RuntimeError", "Ignored", "Pending"]>;
|
|
77
|
+
readonly file: S.String & Wire.Mark;
|
|
78
|
+
readonly location: S.Struct<{
|
|
79
|
+
readonly start: S.Struct<{
|
|
80
|
+
readonly line: S.Finite;
|
|
81
|
+
readonly column: S.Finite;
|
|
82
|
+
}>;
|
|
83
|
+
readonly end: S.Struct<{
|
|
84
|
+
readonly line: S.Finite;
|
|
85
|
+
readonly column: S.Finite;
|
|
86
|
+
}>;
|
|
87
|
+
}>;
|
|
88
|
+
readonly mutator: S.String & Wire.Mark;
|
|
89
|
+
readonly replacement: S.NullOr<S.String & Wire.Mark> & Wire.Mark;
|
|
90
|
+
readonly completed: S.Finite & Wire.Mark;
|
|
91
|
+
readonly total: S.Finite & Wire.Mark;
|
|
92
|
+
}>, {}>;
|
|
93
|
+
declare class MutantTested extends MutantTested_base {}
|
|
94
|
+
declare const MutationTestReportReady_base: S.Class<MutationTestReportReady, S.TaggedStruct<"mutationTestReportReady", {
|
|
95
|
+
readonly report: S.Struct<{
|
|
96
|
+
readonly schemaVersion: S.String;
|
|
97
|
+
readonly files: S.$Record<S.String, S.Struct<{
|
|
98
|
+
readonly language: S.String;
|
|
99
|
+
readonly source: S.String;
|
|
100
|
+
readonly mutants: S.$Array<S.Struct<{
|
|
101
|
+
readonly id: S.String;
|
|
102
|
+
readonly mutatorName: S.String;
|
|
103
|
+
readonly status: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>;
|
|
104
|
+
readonly location: S.Struct<{
|
|
105
|
+
readonly start: S.Struct<{
|
|
106
|
+
readonly line: S.Finite;
|
|
107
|
+
readonly column: S.Finite;
|
|
108
|
+
}>;
|
|
109
|
+
readonly end: S.Struct<{
|
|
110
|
+
readonly line: S.Finite;
|
|
111
|
+
readonly column: S.Finite;
|
|
112
|
+
}>;
|
|
113
|
+
}>;
|
|
114
|
+
readonly replacement: S.optional<S.String>;
|
|
115
|
+
readonly description: S.optional<S.String>;
|
|
116
|
+
readonly statusReason: S.optional<S.String>;
|
|
117
|
+
readonly static: S.optional<S.Boolean>;
|
|
118
|
+
readonly coveredBy: S.optional<S.$Array<S.String>>;
|
|
119
|
+
readonly killedBy: S.optional<S.$Array<S.String>>;
|
|
120
|
+
readonly testsCompleted: S.optional<S.Finite>;
|
|
121
|
+
readonly duration: S.optional<S.Finite>;
|
|
122
|
+
}>>;
|
|
123
|
+
}>>;
|
|
124
|
+
readonly thresholds: S.Struct<{
|
|
125
|
+
readonly high: S.Finite;
|
|
126
|
+
readonly low: S.Finite;
|
|
127
|
+
}>;
|
|
128
|
+
readonly config: S.optional<S.$Record<S.String, S.Unknown>>;
|
|
129
|
+
readonly testFiles: S.optional<S.$Record<S.String, S.Struct<{
|
|
130
|
+
readonly source: S.optional<S.String>;
|
|
131
|
+
readonly tests: S.$Array<S.Struct<{
|
|
132
|
+
readonly id: S.String;
|
|
133
|
+
readonly name: S.String;
|
|
134
|
+
readonly location: S.optional<S.Struct<{
|
|
135
|
+
readonly start: S.Struct<{
|
|
136
|
+
readonly line: S.Finite;
|
|
137
|
+
readonly column: S.Finite;
|
|
138
|
+
}>;
|
|
139
|
+
readonly end: S.optional<S.Struct<{
|
|
140
|
+
readonly line: S.Finite;
|
|
141
|
+
readonly column: S.Finite;
|
|
142
|
+
}>>;
|
|
143
|
+
}>>;
|
|
144
|
+
}>>;
|
|
145
|
+
}>>>;
|
|
146
|
+
readonly projectRoot: S.optional<S.String>;
|
|
147
|
+
readonly framework: S.optional<S.Struct<{
|
|
148
|
+
readonly name: S.String;
|
|
149
|
+
readonly version: S.optional<S.String>;
|
|
150
|
+
readonly branding: S.optional<S.Struct<{
|
|
151
|
+
readonly homepageUrl: S.String;
|
|
152
|
+
readonly imageUrl: S.optional<S.String>;
|
|
153
|
+
}>>;
|
|
154
|
+
readonly dependencies: S.optional<S.$Record<S.String, S.String>>;
|
|
155
|
+
}>>;
|
|
156
|
+
}>;
|
|
157
|
+
readonly metrics: S.Struct<{
|
|
158
|
+
readonly name: S.String;
|
|
159
|
+
readonly metrics: S.Struct<{
|
|
160
|
+
readonly pending: S.Finite;
|
|
161
|
+
readonly killed: S.Finite;
|
|
162
|
+
readonly timeout: S.Finite;
|
|
163
|
+
readonly survived: S.Finite;
|
|
164
|
+
readonly noCoverage: S.Finite;
|
|
165
|
+
readonly runtimeErrors: S.Finite;
|
|
166
|
+
readonly compileErrors: S.Finite;
|
|
167
|
+
readonly ignored: S.Finite;
|
|
168
|
+
readonly totalDetected: S.Finite;
|
|
169
|
+
readonly totalUndetected: S.Finite;
|
|
170
|
+
readonly totalInvalid: S.Finite;
|
|
171
|
+
readonly totalValid: S.Finite;
|
|
172
|
+
readonly totalMutants: S.Finite;
|
|
173
|
+
readonly totalCovered: S.Finite;
|
|
174
|
+
readonly mutationScore: S.Finite;
|
|
175
|
+
readonly mutationScoreBasedOnCoveredCode: S.Finite;
|
|
176
|
+
}>;
|
|
177
|
+
readonly childResults: S.$Array<S.suspend<S.Codec<MetricsResult, MetricsResult, never, never>>>;
|
|
178
|
+
}>;
|
|
179
|
+
}>, {}>;
|
|
180
|
+
declare class MutationTestReportReady extends MutationTestReportReady_base {}
|
|
181
|
+
declare const ReporterEventUnion: S.Union<readonly [typeof DryRunCompleted, typeof MutationTestingPlanReady, typeof MutantTested, typeof MutationTestReportReady]>;
|
|
182
|
+
type ReporterEvent = DryRunCompleted | MutationTestingPlanReady | MutantTested | MutationTestReportReady;
|
|
183
|
+
declare const ReporterEventSchema: StandardSchemaV1<unknown, ReporterEvent>;
|
|
184
|
+
interface ReporterInit {
|
|
185
|
+
readonly traceparent?: string | undefined;
|
|
186
|
+
readonly tracestate?: string | undefined;
|
|
187
|
+
}
|
|
188
|
+
type ReporterFactory = (options: StrykerOptions, init: ReporterInit) => (events: AsyncIterable<ReporterEvent>) => Promise<void>;
|
|
189
|
+
//#endregion
|
|
190
|
+
export { ReporterEvent as a, ReporterEventUnion as c, ReporterPlanDescriptor as d, RunTiming as f, MutationTestingPlanReady as i, ReporterFactory as l, MutantTested as n, ReporterEventKind as o, MutationTestReportReady as r, ReporterEventSchema as s, DryRunCompleted as t, ReporterInit as u };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as Context from "effect/Context";
|
|
2
2
|
import * as S from "effect/Schema";
|
|
3
|
+
import { Wire } from "@systemfsoftware/effect-cell-types";
|
|
3
4
|
import * as Effect from "effect/Effect";
|
|
4
5
|
import * as Exit from "effect/Exit";
|
|
5
|
-
import { Wire } from "@systemfsoftware/effect-cell-types";
|
|
6
6
|
import * as Cause from "effect/Cause";
|
|
7
7
|
import * as Queue from "effect/Queue";
|
|
8
8
|
//#region src/Run.schema.d.ts
|
|
@@ -126,15 +126,9 @@ declare const HelpRendered_base: S.Class<HelpRendered, S.TaggedStruct<"help", {
|
|
|
126
126
|
readonly help: S.String & Wire.Mark;
|
|
127
127
|
}>, {}>;
|
|
128
128
|
declare class HelpRendered extends HelpRendered_base {}
|
|
129
|
-
declare const
|
|
130
|
-
readonly schemaVersion: S.String & Wire.Mark;
|
|
131
|
-
readonly code: S.Literals<readonly [0]> & Wire.Mark;
|
|
132
|
-
readonly manifest: S.String & Wire.Mark;
|
|
133
|
-
}>, {}>;
|
|
134
|
-
declare class ManifestRendered extends ManifestRendered_base {}
|
|
135
|
-
declare const RunEvent: S.Union<readonly [typeof RunStarted, typeof PhaseEntered, typeof PlanKnown, typeof MutantTested, typeof Heartbeat, typeof VerdictReached, typeof RunFailed, typeof HelpRendered, typeof ManifestRendered]>;
|
|
129
|
+
declare const RunEvent: S.Union<readonly [typeof RunStarted, typeof PhaseEntered, typeof PlanKnown, typeof MutantTested, typeof Heartbeat, typeof VerdictReached, typeof RunFailed, typeof HelpRendered]>;
|
|
136
130
|
type RunEvent = typeof RunEvent.Type;
|
|
137
|
-
type RunTerminalEvent = VerdictReached | RunFailed | HelpRendered
|
|
131
|
+
type RunTerminalEvent = VerdictReached | RunFailed | HelpRendered;
|
|
138
132
|
declare const RunCommand_base: S.Class<RunCommand, S.TaggedStruct<"RunCommand", {
|
|
139
133
|
readonly cliOptionsJson: S.String;
|
|
140
134
|
readonly targetMutatePatterns: S.$Array<S.String>;
|
|
@@ -158,10 +152,10 @@ declare const MutationRunPlan_base: S.Class<MutationRunPlan, S.TaggedStruct<"Mut
|
|
|
158
152
|
}>, {}>;
|
|
159
153
|
declare class MutationRunPlan extends MutationRunPlan_base {}
|
|
160
154
|
declare namespace Run_d_exports {
|
|
161
|
-
export { Heartbeat, HelpRendered, Location,
|
|
155
|
+
export { Heartbeat, HelpRendered, Location, ModeSignal, MutantStatus, MutantTested, MutationRunIo, OutputMode, PhaseEntered, PlanKnown, Position, RunEvent, RunEvent as RunEventType, RunEvents, RunFailed, RunIdentity, RunIdentityShape, RunPhase, RunStarted, RunTerminalEvent, VerdictReached, planMutationRun, runMutationTest, shouldKeepTempDir };
|
|
162
156
|
}
|
|
163
157
|
declare const planMutationRun: (command: PlanMutationRunCommand) => MutationRunPlan;
|
|
164
|
-
declare const RunEvents_base: Context.ServiceClass<RunEvents, "~@systemfsoftware/stryker-js/RunEvents", Queue.Queue<Heartbeat | HelpRendered |
|
|
158
|
+
declare const RunEvents_base: Context.ServiceClass<RunEvents, "~@systemfsoftware/stryker-js/RunEvents", Queue.Queue<Heartbeat | HelpRendered | MutantTested | PhaseEntered | PlanKnown | RunFailed | RunStarted | VerdictReached, Cause.Done<void>>>;
|
|
165
159
|
declare class RunEvents extends RunEvents_base {}
|
|
166
160
|
interface RunIdentityShape {
|
|
167
161
|
readonly runId: string;
|
|
@@ -176,4 +170,4 @@ interface MutationRunIo {
|
|
|
176
170
|
declare const runMutationTest: (io: MutationRunIo, command: RunCommand) => Effect.Effect<void, S.SchemaError, RunIdentity>;
|
|
177
171
|
declare const shouldKeepTempDir: (exit: Exit.Exit<void, unknown>, cleanTempDir: 'always' | boolean) => boolean;
|
|
178
172
|
//#endregion
|
|
179
|
-
export {
|
|
173
|
+
export { RunTerminalEvent as C, RunStarted as S, PlanKnown as _, Run_d_exports as a, RunFailed as b, shouldKeepTempDir as c, Location as d, ModeSignal as f, PhaseEntered as g, OutputMode as h, RunIdentityShape as i, Heartbeat as l, MutantTested as m, RunEvents as n, planMutationRun as o, MutantStatus as p, RunIdentity as r, runMutationTest as s, MutationRunIo as t, HelpRendered as u, Position as v, VerdictReached as w, RunPhase as x, RunEvent as y };
|
package/dist/Run.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as
|
|
2
|
-
export { Heartbeat, HelpRendered, type Location,
|
|
1
|
+
import { C as RunTerminalEvent, S as RunStarted, _ as PlanKnown, b as RunFailed, c as shouldKeepTempDir, d as Location, f as ModeSignal, g as PhaseEntered, h as OutputMode, i as RunIdentityShape, l as Heartbeat, m as MutantTested, n as RunEvents, o as planMutationRun, p as MutantStatus, r as RunIdentity, s as runMutationTest, t as MutationRunIo, u as HelpRendered, v as Position, w as VerdictReached, x as RunPhase, y as RunEvent } from "./Run-CnhaYlAC.mjs";
|
|
2
|
+
export { Heartbeat, HelpRendered, type Location, ModeSignal, MutantStatus, MutantTested, MutationRunIo, OutputMode, PhaseEntered, PlanKnown, type Position, RunEvent, type RunEvent as RunEventType, RunEvents, RunFailed, RunIdentity, RunIdentityShape, RunPhase, RunStarted, type RunTerminalEvent, VerdictReached, planMutationRun, runMutationTest, shouldKeepTempDir };
|
package/dist/Run.mjs
CHANGED
|
@@ -1,2 +1,56 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { t as __exportAll } from "./rolldown-runtime-D7D4PA-g.mjs";
|
|
2
|
+
import { a as MutantTested, c as PhaseEntered, d as RunEvent, f as RunFailed, g as VerdictReached, h as RunStarted, i as MutantStatus, l as PlanKnown, m as RunPhase, n as HelpRendered, o as MutationRunPlan, p as RunOutput, r as ModeSignal, s as OutputMode, t as Heartbeat, u as PlanMutationRunCommand } from "./Run.schema-C4m-b9Ki.mjs";
|
|
3
|
+
import * as Context from "effect/Context";
|
|
4
|
+
import * as S from "effect/Schema";
|
|
5
|
+
import * as Effect from "effect/Effect";
|
|
6
|
+
import * as Exit from "effect/Exit";
|
|
7
|
+
import * as Result from "effect/Result";
|
|
8
|
+
//#region src/Run.ts
|
|
9
|
+
var Run_exports = /* @__PURE__ */ __exportAll({
|
|
10
|
+
Heartbeat: () => Heartbeat,
|
|
11
|
+
HelpRendered: () => HelpRendered,
|
|
12
|
+
ModeSignal: () => ModeSignal,
|
|
13
|
+
MutantStatus: () => MutantStatus,
|
|
14
|
+
MutantTested: () => MutantTested,
|
|
15
|
+
OutputMode: () => OutputMode,
|
|
16
|
+
PhaseEntered: () => PhaseEntered,
|
|
17
|
+
PlanKnown: () => PlanKnown,
|
|
18
|
+
RunEvent: () => RunEvent,
|
|
19
|
+
RunEvents: () => RunEvents,
|
|
20
|
+
RunFailed: () => RunFailed,
|
|
21
|
+
RunIdentity: () => RunIdentity,
|
|
22
|
+
RunPhase: () => RunPhase,
|
|
23
|
+
RunStarted: () => RunStarted,
|
|
24
|
+
VerdictReached: () => VerdictReached,
|
|
25
|
+
planMutationRun: () => planMutationRun,
|
|
26
|
+
runMutationTest: () => runMutationTest,
|
|
27
|
+
shouldKeepTempDir: () => shouldKeepTempDir
|
|
28
|
+
});
|
|
29
|
+
const firstNonEmpty = (preferred, fallback) => {
|
|
30
|
+
if (preferred.length > 0) return [...preferred];
|
|
31
|
+
return [...fallback];
|
|
32
|
+
};
|
|
33
|
+
const planMutationRun = (command) => MutationRunPlan.make({
|
|
34
|
+
mutatePatterns: firstNonEmpty(command.targetMutatePatterns, command.configMutatePatterns),
|
|
35
|
+
mutatorNames: firstNonEmpty(command.availableMutators, command.configMutatorNames)
|
|
36
|
+
});
|
|
37
|
+
var RunEvents = class extends Context.Service()("~@systemfsoftware/stryker-js/RunEvents") {};
|
|
38
|
+
var RunIdentity = class extends Context.Service()("~@systemfsoftware/stryker-js/RunIdentity") {};
|
|
39
|
+
const runMutationTest = (io, command) => Effect.gen(function* () {
|
|
40
|
+
const raw = yield* io.read(command);
|
|
41
|
+
const planCommand = yield* Result.match(S.decodeUnknownResult(PlanMutationRunCommand)(raw), {
|
|
42
|
+
onFailure: (error) => Effect.fail(error),
|
|
43
|
+
onSuccess: (decoded) => Effect.succeed(decoded)
|
|
44
|
+
});
|
|
45
|
+
const plan = planMutationRun(planCommand);
|
|
46
|
+
return yield* io.write(new RunOutput({
|
|
47
|
+
verdictJson: JSON.stringify({
|
|
48
|
+
mutate: plan.mutatePatterns,
|
|
49
|
+
mutatorNames: plan.mutatorNames
|
|
50
|
+
}),
|
|
51
|
+
exitCode: 0
|
|
52
|
+
}));
|
|
53
|
+
});
|
|
54
|
+
const shouldKeepTempDir = (exit, cleanTempDir) => Exit.isFailure(exit) && cleanTempDir !== "always";
|
|
55
|
+
//#endregion
|
|
56
|
+
export { Heartbeat, HelpRendered, ModeSignal, MutantStatus, MutantTested, OutputMode, PhaseEntered, PlanKnown, RunEvent, RunEvents, RunFailed, RunIdentity, RunPhase, RunStarted, VerdictReached, planMutationRun, runMutationTest, shouldKeepTempDir, Run_exports as t };
|
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
import { t as __exportAll } from "./rolldown-runtime-D7D4PA-g.mjs";
|
|
2
|
-
import * as Context from "effect/Context";
|
|
3
1
|
import * as S from "effect/Schema";
|
|
4
|
-
import * as Effect from "effect/Effect";
|
|
5
|
-
import * as Exit from "effect/Exit";
|
|
6
|
-
import * as Result from "effect/Result";
|
|
7
2
|
import { Wire } from "@systemfsoftware/effect-cell-types";
|
|
8
3
|
//#region src/Run.schema.ts
|
|
9
4
|
const RunPhase = S.Literals([
|
|
@@ -109,11 +104,6 @@ var HelpRendered = class extends S.TaggedClass()("help", {
|
|
|
109
104
|
code: Wire.mint(S.Literals([0])),
|
|
110
105
|
help: Wire.mint(S.String)
|
|
111
106
|
}) {};
|
|
112
|
-
var ManifestRendered = class extends S.TaggedClass()("manifest", {
|
|
113
|
-
schemaVersion: Wire.mint(S.String),
|
|
114
|
-
code: Wire.mint(S.Literals([0])),
|
|
115
|
-
manifest: Wire.mint(S.String)
|
|
116
|
-
}) {};
|
|
117
107
|
const RunEvent = S.Union([
|
|
118
108
|
RunStarted,
|
|
119
109
|
PhaseEntered,
|
|
@@ -122,8 +112,7 @@ const RunEvent = S.Union([
|
|
|
122
112
|
Heartbeat,
|
|
123
113
|
VerdictReached,
|
|
124
114
|
RunFailed,
|
|
125
|
-
HelpRendered
|
|
126
|
-
ManifestRendered
|
|
115
|
+
HelpRendered
|
|
127
116
|
]);
|
|
128
117
|
S.TaggedClass()("RunCommand", {
|
|
129
118
|
cliOptionsJson: S.String,
|
|
@@ -147,53 +136,4 @@ var MutationRunPlan = class extends S.TaggedClass()("MutationRunPlan", {
|
|
|
147
136
|
mutatorNames: Wire.mint(S.Array(Wire.mint(S.String)))
|
|
148
137
|
}) {};
|
|
149
138
|
//#endregion
|
|
150
|
-
|
|
151
|
-
var Run_exports = /* @__PURE__ */ __exportAll({
|
|
152
|
-
Heartbeat: () => Heartbeat,
|
|
153
|
-
HelpRendered: () => HelpRendered,
|
|
154
|
-
ManifestRendered: () => ManifestRendered,
|
|
155
|
-
ModeSignal: () => ModeSignal,
|
|
156
|
-
MutantStatus: () => MutantStatus,
|
|
157
|
-
MutantTested: () => MutantTested,
|
|
158
|
-
OutputMode: () => OutputMode,
|
|
159
|
-
PhaseEntered: () => PhaseEntered,
|
|
160
|
-
PlanKnown: () => PlanKnown,
|
|
161
|
-
RunEvent: () => RunEvent,
|
|
162
|
-
RunEvents: () => RunEvents,
|
|
163
|
-
RunFailed: () => RunFailed,
|
|
164
|
-
RunIdentity: () => RunIdentity,
|
|
165
|
-
RunPhase: () => RunPhase,
|
|
166
|
-
RunStarted: () => RunStarted,
|
|
167
|
-
VerdictReached: () => VerdictReached,
|
|
168
|
-
planMutationRun: () => planMutationRun,
|
|
169
|
-
runMutationTest: () => runMutationTest,
|
|
170
|
-
shouldKeepTempDir: () => shouldKeepTempDir
|
|
171
|
-
});
|
|
172
|
-
const firstNonEmpty = (preferred, fallback) => {
|
|
173
|
-
if (preferred.length > 0) return [...preferred];
|
|
174
|
-
return [...fallback];
|
|
175
|
-
};
|
|
176
|
-
const planMutationRun = (command) => MutationRunPlan.make({
|
|
177
|
-
mutatePatterns: firstNonEmpty(command.targetMutatePatterns, command.configMutatePatterns),
|
|
178
|
-
mutatorNames: firstNonEmpty(command.availableMutators, command.configMutatorNames)
|
|
179
|
-
});
|
|
180
|
-
var RunEvents = class extends Context.Service()("~@systemfsoftware/stryker-js/RunEvents") {};
|
|
181
|
-
var RunIdentity = class extends Context.Service()("~@systemfsoftware/stryker-js/RunIdentity") {};
|
|
182
|
-
const runMutationTest = (io, command) => Effect.gen(function* () {
|
|
183
|
-
const raw = yield* io.read(command);
|
|
184
|
-
const planCommand = yield* Result.match(S.decodeUnknownResult(PlanMutationRunCommand)(raw), {
|
|
185
|
-
onFailure: (error) => Effect.fail(error),
|
|
186
|
-
onSuccess: (decoded) => Effect.succeed(decoded)
|
|
187
|
-
});
|
|
188
|
-
const plan = planMutationRun(planCommand);
|
|
189
|
-
return yield* io.write(new RunOutput({
|
|
190
|
-
verdictJson: JSON.stringify({
|
|
191
|
-
mutate: plan.mutatePatterns,
|
|
192
|
-
mutatorNames: plan.mutatorNames
|
|
193
|
-
}),
|
|
194
|
-
exitCode: 0
|
|
195
|
-
}));
|
|
196
|
-
});
|
|
197
|
-
const shouldKeepTempDir = (exit, cleanTempDir) => Exit.isFailure(exit) && cleanTempDir !== "always";
|
|
198
|
-
//#endregion
|
|
199
|
-
export { RunFailed as _, runMutationTest as a, VerdictReached as b, HelpRendered as c, MutantStatus as d, MutantTested as f, RunEvent as g, PlanKnown as h, planMutationRun as i, ManifestRendered as l, PhaseEntered as m, RunIdentity as n, shouldKeepTempDir as o, OutputMode as p, Run_exports as r, Heartbeat as s, RunEvents as t, ModeSignal as u, RunPhase as v, RunStarted as y };
|
|
139
|
+
export { MutantTested as a, PhaseEntered as c, RunEvent as d, RunFailed as f, VerdictReached as g, RunStarted as h, MutantStatus as i, PlanKnown as l, RunPhase as m, HelpRendered as n, MutationRunPlan as o, RunOutput as p, ModeSignal as r, OutputMode as s, Heartbeat as t, PlanMutationRunCommand as u };
|
package/dist/TestRunner.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as testFilesProvided, A as CoverageAnalysis, B as MutantRunResult, F as FailedTestResult, G as SurvivedMutantRunResult, H as RunOptions, I as KilledMutantRunResult, J as TestRunnerCapabilities, K as TestResult, L as MutantActivation, M as DryRunResult, N as ErrorDryRunResult, O as BaseTestResult, P as ErrorMutantRunResult, Q as TimeoutMutantRunResult, R as MutantCoverage, U as SkippedTestResult, V as Position, W as SuccessTestResult, Y as TestRunnerService, Z as TimeoutDryRunResult, at as MutantActivationSchema, ct as MutantRunResultSchema, dt as TestRunnerCapabilitiesSchema, et as toMutantRunResult, ft as TestRunnerFailed, it as DryRunStatus, j as DryRunOptions, k as CompleteDryRunResult, lt as MutantRunStatus, nt as DryRunOptionsSchema, ot as MutantCoverageSchema, pt as TestStatus, q as TestRunner, rt as DryRunResultSchema, st as MutantRunOptionsSchema, tt as CoverageAnalysisSchema, ut as TestResultSchema, z as MutantRunOptions } from "./Mutant-Ci25PsWA.mjs";
|
|
2
2
|
export { BaseTestResult, CompleteDryRunResult, CoverageAnalysis, CoverageAnalysisSchema, DryRunOptions, DryRunOptionsSchema, DryRunResult, DryRunResultSchema, DryRunStatus, ErrorDryRunResult, ErrorMutantRunResult, FailedTestResult, KilledMutantRunResult, MutantActivation, MutantActivationSchema, MutantCoverage, MutantCoverageSchema, MutantRunOptions, MutantRunOptionsSchema, MutantRunResult, MutantRunResultSchema, MutantRunStatus, Position, RunOptions, SkippedTestResult, SuccessTestResult, SurvivedMutantRunResult, TestResult, TestResultSchema, TestRunner, TestRunnerCapabilities, TestRunnerCapabilitiesSchema, TestRunnerFailed, TestRunnerService, TestStatus, TimeoutDryRunResult, TimeoutMutantRunResult, testFilesProvided, toMutantRunResult };
|
package/dist/TestRunner.mjs
CHANGED
|
@@ -1,2 +1,57 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { t as __exportAll } from "./rolldown-runtime-D7D4PA-g.mjs";
|
|
2
|
+
import { a as MutantActivationSchema, c as MutantRunResultSchema, d as TestRunnerCapabilitiesSchema, f as TestRunnerFailed, i as DryRunStatus, l as MutantRunStatus, n as DryRunOptionsSchema, o as MutantCoverageSchema, p as TestStatus, r as DryRunResultSchema, s as MutantRunOptionsSchema, t as CoverageAnalysisSchema, u as TestResultSchema } from "./TestRunner.schema-Dy0Wdro2.mjs";
|
|
3
|
+
import * as Context from "effect/Context";
|
|
4
|
+
import * as Match from "effect/Match";
|
|
5
|
+
import * as Option from "effect/Option";
|
|
6
|
+
//#region src/TestRunner.ts
|
|
7
|
+
var TestRunner_exports = /* @__PURE__ */ __exportAll({
|
|
8
|
+
CoverageAnalysisSchema: () => CoverageAnalysisSchema,
|
|
9
|
+
DryRunOptionsSchema: () => DryRunOptionsSchema,
|
|
10
|
+
DryRunResultSchema: () => DryRunResultSchema,
|
|
11
|
+
DryRunStatus: () => DryRunStatus,
|
|
12
|
+
MutantActivationSchema: () => MutantActivationSchema,
|
|
13
|
+
MutantCoverageSchema: () => MutantCoverageSchema,
|
|
14
|
+
MutantRunOptionsSchema: () => MutantRunOptionsSchema,
|
|
15
|
+
MutantRunResultSchema: () => MutantRunResultSchema,
|
|
16
|
+
MutantRunStatus: () => MutantRunStatus,
|
|
17
|
+
TestResultSchema: () => TestResultSchema,
|
|
18
|
+
TestRunner: () => TestRunner,
|
|
19
|
+
TestRunnerCapabilitiesSchema: () => TestRunnerCapabilitiesSchema,
|
|
20
|
+
TestRunnerFailed: () => TestRunnerFailed,
|
|
21
|
+
TestStatus: () => TestStatus,
|
|
22
|
+
testFilesProvided: () => testFilesProvided,
|
|
23
|
+
toMutantRunResult: () => toMutantRunResult
|
|
24
|
+
});
|
|
25
|
+
function toMutantRunResult(dryRunResult, reportAllKillers) {
|
|
26
|
+
return Match.value(dryRunResult).pipe(Match.discriminator("status")("complete", (complete) => {
|
|
27
|
+
const failed = complete.tests.filter((t) => t.status === "failed");
|
|
28
|
+
const nrOfTests = complete.tests.filter((t) => t.status !== "skipped").length;
|
|
29
|
+
return Option.match(Option.fromUndefinedOr(failed.at(0)), {
|
|
30
|
+
onNone: () => ({
|
|
31
|
+
nrOfTests,
|
|
32
|
+
status: "survived"
|
|
33
|
+
}),
|
|
34
|
+
onSome: (firstFailed) => ({
|
|
35
|
+
failureMessage: firstFailed.failureMessage,
|
|
36
|
+
killedBy: Match.value(reportAllKillers).pipe(Match.when(true, () => failed.map((t) => t.id)), Match.when(false, () => [firstFailed.id]), Match.exhaustive),
|
|
37
|
+
nrOfTests,
|
|
38
|
+
status: "killed"
|
|
39
|
+
})
|
|
40
|
+
});
|
|
41
|
+
}), Match.discriminator("status")("error", (errored) => ({
|
|
42
|
+
errorMessage: errored.errorMessage,
|
|
43
|
+
status: "error"
|
|
44
|
+
})), Match.discriminator("status")("timeout", (timedOut) => Option.match(Option.fromUndefinedOr(timedOut.reason), {
|
|
45
|
+
onNone: () => ({ status: "timeout" }),
|
|
46
|
+
onSome: (reason) => ({
|
|
47
|
+
reason,
|
|
48
|
+
status: "timeout"
|
|
49
|
+
})
|
|
50
|
+
})), Match.exhaustive);
|
|
51
|
+
}
|
|
52
|
+
var TestRunner = class extends Context.Service()("~@systemfsoftware/stryker-js/TestRunner") {};
|
|
53
|
+
function testFilesProvided(options) {
|
|
54
|
+
return options.testFiles !== void 0 && options.testFiles.length > 0;
|
|
55
|
+
}
|
|
56
|
+
//#endregion
|
|
57
|
+
export { CoverageAnalysisSchema, DryRunOptionsSchema, DryRunResultSchema, DryRunStatus, MutantActivationSchema, MutantCoverageSchema, MutantRunOptionsSchema, MutantRunResultSchema, MutantRunStatus, TestResultSchema, TestRunner, TestRunnerCapabilitiesSchema, TestRunnerFailed, TestStatus, TestRunner_exports as t, testFilesProvided, toMutantRunResult };
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as Mutant, r as PositionSchema } from "./Mutant.schema-BTWhFTk4.mjs";
|
|
3
|
-
import * as Context from "effect/Context";
|
|
1
|
+
import { n as Mutant, r as PositionSchema } from "./Mutant.schema-H3r0ho_R.mjs";
|
|
4
2
|
import * as S from "effect/Schema";
|
|
5
3
|
//#region src/TestRunner.schema.ts
|
|
6
4
|
const DryRunStatus = S.Literals([
|
|
@@ -118,64 +116,4 @@ var TestRunnerFailed = class extends S.TaggedError()("TestRunnerFailed", {
|
|
|
118
116
|
runnerName: S.String
|
|
119
117
|
}) {};
|
|
120
118
|
//#endregion
|
|
121
|
-
|
|
122
|
-
var TestRunner_exports = /* @__PURE__ */ __exportAll({
|
|
123
|
-
CoverageAnalysisSchema: () => CoverageAnalysisSchema,
|
|
124
|
-
DryRunOptionsSchema: () => DryRunOptionsSchema,
|
|
125
|
-
DryRunResultSchema: () => DryRunResultSchema,
|
|
126
|
-
DryRunStatus: () => DryRunStatus,
|
|
127
|
-
MutantActivationSchema: () => MutantActivationSchema,
|
|
128
|
-
MutantCoverageSchema: () => MutantCoverageSchema,
|
|
129
|
-
MutantRunOptionsSchema: () => MutantRunOptionsSchema,
|
|
130
|
-
MutantRunResultSchema: () => MutantRunResultSchema,
|
|
131
|
-
MutantRunStatus: () => MutantRunStatus,
|
|
132
|
-
TestResultSchema: () => TestResultSchema,
|
|
133
|
-
TestRunner: () => TestRunner,
|
|
134
|
-
TestRunnerCapabilitiesSchema: () => TestRunnerCapabilitiesSchema,
|
|
135
|
-
TestRunnerFailed: () => TestRunnerFailed,
|
|
136
|
-
TestStatus: () => TestStatus,
|
|
137
|
-
testFilesProvided: () => testFilesProvided,
|
|
138
|
-
toMutantRunResult: () => toMutantRunResult
|
|
139
|
-
});
|
|
140
|
-
function toMutantRunResult(dryRunResult, reportAllKillers) {
|
|
141
|
-
switch (dryRunResult.status) {
|
|
142
|
-
case "timeout":
|
|
143
|
-
if (dryRunResult.reason === void 0) return { status: "timeout" };
|
|
144
|
-
return {
|
|
145
|
-
reason: dryRunResult.reason,
|
|
146
|
-
status: "timeout"
|
|
147
|
-
};
|
|
148
|
-
case "error": return {
|
|
149
|
-
errorMessage: dryRunResult.errorMessage,
|
|
150
|
-
status: "error"
|
|
151
|
-
};
|
|
152
|
-
case "complete": {
|
|
153
|
-
const failed = dryRunResult.tests.filter((t) => t.status === "failed");
|
|
154
|
-
const nrOfTests = dryRunResult.tests.filter((t) => t.status !== "skipped").length;
|
|
155
|
-
if (failed.length === 0) return {
|
|
156
|
-
nrOfTests,
|
|
157
|
-
status: "survived"
|
|
158
|
-
};
|
|
159
|
-
const firstFailed = failed.at(0);
|
|
160
|
-
if (firstFailed === void 0) return {
|
|
161
|
-
nrOfTests,
|
|
162
|
-
status: "survived"
|
|
163
|
-
};
|
|
164
|
-
let killedBy;
|
|
165
|
-
if (reportAllKillers) killedBy = failed.map((t) => t.id);
|
|
166
|
-
else killedBy = [firstFailed.id];
|
|
167
|
-
return {
|
|
168
|
-
failureMessage: firstFailed.failureMessage,
|
|
169
|
-
killedBy,
|
|
170
|
-
nrOfTests,
|
|
171
|
-
status: "killed"
|
|
172
|
-
};
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
var TestRunner = class extends Context.Service()("~@systemfsoftware/stryker-js/TestRunner") {};
|
|
177
|
-
function testFilesProvided(options) {
|
|
178
|
-
return options.testFiles !== void 0 && options.testFiles.length > 0;
|
|
179
|
-
}
|
|
180
|
-
//#endregion
|
|
181
|
-
export { TestStatus as _, CoverageAnalysisSchema as a, DryRunStatus as c, MutantRunOptionsSchema as d, MutantRunResultSchema as f, TestRunnerFailed as g, TestRunnerCapabilitiesSchema as h, toMutantRunResult as i, MutantActivationSchema as l, TestResultSchema as m, TestRunner_exports as n, DryRunOptionsSchema as o, MutantRunStatus as p, testFilesProvided as r, DryRunResultSchema as s, TestRunner as t, MutantCoverageSchema as u };
|
|
119
|
+
export { MutantActivationSchema as a, MutantRunResultSchema as c, TestRunnerCapabilitiesSchema as d, TestRunnerFailed as f, DryRunStatus as i, MutantRunStatus as l, DryRunOptionsSchema as n, MutantCoverageSchema as o, TestStatus as p, DryRunResultSchema as r, MutantRunOptionsSchema as s, CoverageAnalysisSchema as t, TestResultSchema as u };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { i as Checker_d_exports } from "./Checker-
|
|
2
|
-
import {
|
|
1
|
+
import { i as Checker_d_exports } from "./Checker-A8o5B3Ub.mjs";
|
|
2
|
+
import { X as TestRunner_d_exports, v as Mutant_d_exports } from "./Mutant-Ci25PsWA.mjs";
|
|
3
3
|
import { r as Ignorer_d_exports } from "./Ignorer-BUY68FZQ.mjs";
|
|
4
|
-
import { s as Plugin_d_exports } from "./Plugin-DcDAIBQi.mjs";
|
|
5
|
-
import { u as Reporter_d_exports } from "./Reporter-eZ3M7lO6.mjs";
|
|
6
|
-
import { a as Run_d_exports } from "./Run-BnmGGgWj.mjs";
|
|
7
4
|
import { a as Schema_d_exports } from "./Schema-CXKiLnTu.mjs";
|
|
5
|
+
import { s as Plugin_d_exports } from "./Plugin-CunIOPtw.mjs";
|
|
6
|
+
import { n as Reporter_d_exports } from "./Reporter-BU7qo6MR.mjs";
|
|
7
|
+
import { a as Run_d_exports } from "./Run-CnhaYlAC.mjs";
|
|
8
8
|
export { Checker_d_exports as Checker, Ignorer_d_exports as Ignorer, Mutant_d_exports as Mutant, Plugin_d_exports as Plugin, Reporter_d_exports as Reporter, Run_d_exports as Run, Schema_d_exports as Schema, TestRunner_d_exports as TestRunner };
|
package/dist/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as Checker_exports } from "./Checker-Bq8NXD8d.mjs";
|
|
2
2
|
import { t as Ignorer_exports } from "./Ignorer.mjs";
|
|
3
3
|
import { t as Mutant_exports } from "./Mutant.mjs";
|
|
4
|
-
import { t as Plugin_exports } from "./Plugin-
|
|
5
|
-
import { n as Reporter_exports } from "./Reporter-
|
|
6
|
-
import {
|
|
4
|
+
import { t as Plugin_exports } from "./Plugin-DXFdJP1l.mjs";
|
|
5
|
+
import { n as Reporter_exports } from "./Reporter-BWTwlSJf.mjs";
|
|
6
|
+
import { t as Run_exports } from "./Run.mjs";
|
|
7
7
|
import { n as Schema_exports } from "./Schema-CdNkubPi.mjs";
|
|
8
|
-
import {
|
|
8
|
+
import { t as TestRunner_exports } from "./TestRunner.mjs";
|
|
9
9
|
export { Checker_exports as Checker, Ignorer_exports as Ignorer, Mutant_exports as Mutant, Plugin_exports as Plugin, Reporter_exports as Reporter, Run_exports as Run, Schema_exports as Schema, TestRunner_exports as TestRunner };
|