@systemfsoftware/stryker-js 8.0.0 → 10.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/dist/Run.schema-BBKIZ81u.d.mts +165 -0
- package/dist/Run.schema-C0Cxsfe9.mjs +8746 -0
- package/dist/config.d.mts +2 -1
- package/dist/events.d.mts +2 -0
- package/dist/events.mjs +2 -0
- package/dist/{getMachineId-bsd-C6bLIaiv.mjs → getMachineId-bsd-DGLFi8Ia.mjs} +1 -1
- package/dist/{getMachineId-bsd-CXSiHDga.mjs → getMachineId-bsd-YZILidse.mjs} +1 -1
- package/dist/{getMachineId-darwin-DPZ0kdKD.mjs → getMachineId-darwin-B_CgClId.mjs} +1 -1
- package/dist/{getMachineId-darwin-D3cIKeqx.mjs → getMachineId-darwin-Bfwczd9V.mjs} +1 -1
- package/dist/{getMachineId-linux-Ci8OVJU0.mjs → getMachineId-linux-CPAE174r.mjs} +1 -1
- package/dist/{getMachineId-linux-CQwLSlZk.mjs → getMachineId-linux-DprzjpT3.mjs} +1 -1
- package/dist/{getMachineId-unsupported-PX0hnW6X.mjs → getMachineId-unsupported-Ce9f061A.mjs} +1 -1
- package/dist/{getMachineId-unsupported-_ExL3Avl.mjs → getMachineId-unsupported-j7fStyPQ.mjs} +1 -1
- package/dist/{getMachineId-win-D9Tb0p7w.mjs → getMachineId-win-DETv1PQd.mjs} +1 -1
- package/dist/{getMachineId-win-BCsS9pC_.mjs → getMachineId-win-ZJtT3h1l.mjs} +1 -1
- package/dist/{output-mode-CE6VNHfH.d.mts → index-DnAm4mSL.d.mts} +52 -93
- package/dist/index.d.mts +89 -78
- package/dist/index.mjs +3 -2
- package/dist/main.mjs +11123 -10763
- package/dist/{mutation-test.cell-Ch-QUquW.d.mts → mutation-test.cell-m9T-X2Qx.d.mts} +11 -179
- package/dist/output-mode-CfGHDpi5.d.mts +17 -0
- package/dist/promises.d.mts +2 -2
- package/dist/promises.mjs +1 -1
- package/dist/src-Bu4i-Lt2.mjs +6600 -0
- package/dist/{wasm-Dr7kZatW.mjs → wasm-Dg4JcQ2d.mjs} +1 -1
- package/package.json +11 -7
- package/dist/src-WMC3thmX.mjs +0 -15615
package/dist/config.d.mts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { K as StrykerOptions, P as PartialStrykerOptions } from "./index-DnAm4mSL.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-BBKIZ81u.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-C0Cxsfe9.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,8 +633,8 @@ 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
640
|
declare const MutationScoreThresholdsSchema: S.Struct<{
|
|
@@ -653,7 +644,7 @@ declare const MutationScoreThresholdsSchema: S.Struct<{
|
|
|
653
644
|
}>;
|
|
654
645
|
declare class MutationTestingPlanReady extends MutationTestingPlanReady_base {}
|
|
655
646
|
declare const MutationTestingPlanReady_base: S.Class<MutationTestingPlanReady, S.TaggedStruct<"mutationTestingPlanReady", {
|
|
656
|
-
readonly total: S.
|
|
647
|
+
readonly total: S.Int;
|
|
657
648
|
readonly plans: S.$Array<S.Struct<{
|
|
658
649
|
readonly mutantId: S.String;
|
|
659
650
|
readonly plan: S.Literals<readonly ["EarlyResult", "Run"]>;
|
|
@@ -688,7 +679,7 @@ declare const MutationTestReportReady_base: S.Class<MutationTestReportReady, S.T
|
|
|
688
679
|
readonly static: S.optional<S.Boolean>;
|
|
689
680
|
readonly coveredBy: S.optional<S.$Array<S.String>>;
|
|
690
681
|
readonly killedBy: S.optional<S.$Array<S.String>>;
|
|
691
|
-
readonly testsCompleted: S.optional<S.
|
|
682
|
+
readonly testsCompleted: S.optional<S.Int>;
|
|
692
683
|
readonly duration: S.optional<S.Finite>;
|
|
693
684
|
}>>;
|
|
694
685
|
}>>;
|
|
@@ -725,28 +716,7 @@ declare const MutationTestReportReady_base: S.Class<MutationTestReportReady, S.T
|
|
|
725
716
|
readonly dependencies: S.optional<S.$Record<S.String, S.String>>;
|
|
726
717
|
}>>;
|
|
727
718
|
}>;
|
|
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
|
-
}>;
|
|
719
|
+
readonly metrics: S.Codec<MetricsResult, MetricsResultEncoded, never, never>;
|
|
750
720
|
}>, {}>;
|
|
751
721
|
declare type MutationTestResult = typeof MutationTestResultSchema.Type;
|
|
752
722
|
declare const MutationTestResultSchema: S.Struct<{
|
|
@@ -774,7 +744,7 @@ declare const MutationTestResultSchema: S.Struct<{
|
|
|
774
744
|
readonly static: S.optional<S.Boolean>;
|
|
775
745
|
readonly coveredBy: S.optional<S.$Array<S.String>>;
|
|
776
746
|
readonly killedBy: S.optional<S.$Array<S.String>>;
|
|
777
|
-
readonly testsCompleted: S.optional<S.
|
|
747
|
+
readonly testsCompleted: S.optional<S.Int>;
|
|
778
748
|
readonly duration: S.optional<S.Finite>;
|
|
779
749
|
}>>;
|
|
780
750
|
}>>;
|
|
@@ -811,6 +781,8 @@ declare const MutationTestResultSchema: S.Struct<{
|
|
|
811
781
|
readonly dependencies: S.optional<S.$Record<S.String, S.String>>;
|
|
812
782
|
}>>;
|
|
813
783
|
}>;
|
|
784
|
+
declare const NonNegativeFinite: S.Finite;
|
|
785
|
+
declare const NonNegativeInt: S.Int;
|
|
814
786
|
declare type OnlyObject<T> = Exclude<T, Primitive>;
|
|
815
787
|
declare const PackageManager: S.Literals<readonly ["npm", "yarn", "pnpm"]>;
|
|
816
788
|
declare type PackageManager = typeof PackageManager.Type;
|
|
@@ -823,6 +795,7 @@ declare type PartialStrykerOptions = DeepOptional<StrykerOptions>;
|
|
|
823
795
|
declare interface PassedCheckResult {
|
|
824
796
|
readonly status: 'passed';
|
|
825
797
|
}
|
|
798
|
+
declare const Percentage: S.Finite;
|
|
826
799
|
declare const PluginFileUrl: S.String;
|
|
827
800
|
declare type Primitive = boolean | number | string | null | undefined;
|
|
828
801
|
declare class PropagatedTrace extends PropagatedTrace_base {}
|
|
@@ -1185,6 +1158,8 @@ declare const Traceparent: S.String;
|
|
|
1185
1158
|
declare type Traceparent = typeof Traceparent.Type;
|
|
1186
1159
|
declare const TRACEPARENT_HEADER = "traceparent";
|
|
1187
1160
|
declare const TRACESTATE_HEADER = "tracestate";
|
|
1161
|
+
declare const UndetectedStatus: S.Union<readonly [S.Literal<"Survived">, S.Literal<"NoCoverage">]>;
|
|
1162
|
+
declare const UntestedStatus: S.Union<readonly [S.Literal<"Ignored">, S.Literal<"Pending">]>;
|
|
1188
1163
|
declare const WorkerEntryUrl: S.String;
|
|
1189
1164
|
declare type WorkerEntryUrl = typeof WorkerEntryUrl.Type;
|
|
1190
1165
|
declare const WorkerPluginKind: S.Literals<readonly ["TestRunner", "Checker", "Reporter"]>;
|
|
@@ -1195,20 +1170,4 @@ declare const WorkerPluginSpawnSchema: S.Struct<{
|
|
|
1195
1170
|
readonly entrypoint: S.String;
|
|
1196
1171
|
}>;
|
|
1197
1172
|
//#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 };
|
|
1173
|
+
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 };
|