@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
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { Handle, Workflow } from "@systemfsoftware/effect-cell-types";
|
|
2
2
|
import * as Option$1 from "effect/Option";
|
|
3
|
-
import "effect/Result";
|
|
3
|
+
import * as Result from "effect/Result";
|
|
4
4
|
import * as S from "effect/Schema";
|
|
5
5
|
import * as Effect$1 from "effect/Effect";
|
|
6
|
+
import * as Arr from "effect/Array";
|
|
6
7
|
import * as Context from "effect/Context";
|
|
7
8
|
import { Schema } from "effect";
|
|
8
9
|
import * as Rpc from "effect/unstable/rpc/Rpc";
|
|
@@ -2670,54 +2671,73 @@ declare interface YieldExpression$1 extends Span$1 {
|
|
|
2670
2671
|
}
|
|
2671
2672
|
//#endregion
|
|
2672
2673
|
//#region src/Location.schema.d.ts
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
2680
|
-
|
|
2674
|
+
declare const Offset: S.Int;
|
|
2675
|
+
type Offset = typeof Offset.Type;
|
|
2676
|
+
/** A 1-based line: the first line of a file is line 1. */
|
|
2677
|
+
declare const Line: S.Int;
|
|
2678
|
+
type Line = typeof Line.Type;
|
|
2679
|
+
/** A 1-based column: the first character of a line is column 1. */
|
|
2680
|
+
declare const Column: S.Int;
|
|
2681
|
+
type Column = typeof Column.Type;
|
|
2682
|
+
declare const Position: S.Struct<{
|
|
2681
2683
|
readonly line: S.Int;
|
|
2682
2684
|
readonly column: S.Int;
|
|
2683
2685
|
}>;
|
|
2684
|
-
type Position = typeof
|
|
2685
|
-
declare const
|
|
2686
|
-
readonly start:
|
|
2687
|
-
readonly line:
|
|
2688
|
-
readonly column:
|
|
2689
|
-
}
|
|
2690
|
-
readonly end:
|
|
2691
|
-
readonly line:
|
|
2692
|
-
readonly column:
|
|
2693
|
-
}
|
|
2686
|
+
type Position = typeof Position.Type;
|
|
2687
|
+
declare const Location: S.declare<{
|
|
2688
|
+
readonly start: {
|
|
2689
|
+
readonly line: number;
|
|
2690
|
+
readonly column: number;
|
|
2691
|
+
};
|
|
2692
|
+
readonly end: {
|
|
2693
|
+
readonly line: number;
|
|
2694
|
+
readonly column: number;
|
|
2695
|
+
};
|
|
2696
|
+
}, {
|
|
2697
|
+
readonly start: {
|
|
2698
|
+
readonly line: number;
|
|
2699
|
+
readonly column: number;
|
|
2700
|
+
};
|
|
2701
|
+
readonly end: {
|
|
2702
|
+
readonly line: number;
|
|
2703
|
+
readonly column: number;
|
|
2704
|
+
};
|
|
2694
2705
|
}>;
|
|
2695
|
-
type Location = typeof
|
|
2696
|
-
declare const
|
|
2697
|
-
readonly start:
|
|
2698
|
-
readonly line:
|
|
2699
|
-
readonly column:
|
|
2700
|
-
}
|
|
2701
|
-
readonly end
|
|
2702
|
-
readonly line:
|
|
2703
|
-
readonly column:
|
|
2704
|
-
}
|
|
2706
|
+
type Location = typeof Location.Type;
|
|
2707
|
+
declare const OpenEndLocation: S.declare<{
|
|
2708
|
+
readonly start: {
|
|
2709
|
+
readonly line: number;
|
|
2710
|
+
readonly column: number;
|
|
2711
|
+
};
|
|
2712
|
+
readonly end?: {
|
|
2713
|
+
readonly line: number;
|
|
2714
|
+
readonly column: number;
|
|
2715
|
+
} | undefined;
|
|
2716
|
+
}, {
|
|
2717
|
+
readonly start: {
|
|
2718
|
+
readonly line: number;
|
|
2719
|
+
readonly column: number;
|
|
2720
|
+
};
|
|
2721
|
+
readonly end?: {
|
|
2722
|
+
readonly line: number;
|
|
2723
|
+
readonly column: number;
|
|
2724
|
+
} | undefined;
|
|
2705
2725
|
}>;
|
|
2706
|
-
type OpenEndLocation = typeof
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
readonly
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
readonly
|
|
2717
|
-
|
|
2718
|
-
readonly column: S.Int;
|
|
2719
|
-
}>;
|
|
2726
|
+
type OpenEndLocation = typeof OpenEndLocation.Type;
|
|
2727
|
+
declare const Span: S.declare<{
|
|
2728
|
+
readonly start: number;
|
|
2729
|
+
readonly end: number;
|
|
2730
|
+
}, {
|
|
2731
|
+
readonly start: number;
|
|
2732
|
+
readonly end: number;
|
|
2733
|
+
}>;
|
|
2734
|
+
type Span = typeof Span.Type;
|
|
2735
|
+
declare const ScriptOrigin: S.Struct<{
|
|
2736
|
+
readonly line: S.Int;
|
|
2737
|
+
readonly columnShift: S.Int;
|
|
2720
2738
|
}>;
|
|
2739
|
+
type ScriptOrigin = typeof ScriptOrigin.Type;
|
|
2740
|
+
type LineStarts = Arr.NonEmptyReadonlyArray<Offset>;
|
|
2721
2741
|
//#endregion
|
|
2722
2742
|
//#region src/Syntax.schema.d.ts
|
|
2723
2743
|
declare const AstFormat: S.Literals<readonly ["js", "ts", "tsx"]>;
|
|
@@ -2735,7 +2755,7 @@ interface BaseAst {
|
|
|
2735
2755
|
originFileName: string;
|
|
2736
2756
|
rawContent: string;
|
|
2737
2757
|
root: Program;
|
|
2738
|
-
offset?:
|
|
2758
|
+
offset?: ScriptOrigin;
|
|
2739
2759
|
}
|
|
2740
2760
|
interface EmbeddedAst {
|
|
2741
2761
|
format: 'embedded';
|
|
@@ -2768,29 +2788,189 @@ interface TsxAst extends BaseAst {
|
|
|
2768
2788
|
type ScriptAst = JSAst | TSAst | TsxAst;
|
|
2769
2789
|
type Ast = JSAst | TSAst | TsxAst | EmbeddedAst;
|
|
2770
2790
|
//#endregion
|
|
2791
|
+
//#region src/Instrument.schema.d.ts
|
|
2792
|
+
declare const InstrumentError_base: S.Class<InstrumentError, S.TaggedStruct<"InstrumentError", {
|
|
2793
|
+
readonly message: S.String;
|
|
2794
|
+
readonly cause: S.Defect;
|
|
2795
|
+
}>, import("effect/Cause").YieldableError>;
|
|
2796
|
+
declare class InstrumentError extends InstrumentError_base {
|
|
2797
|
+
get message(): string;
|
|
2798
|
+
}
|
|
2799
|
+
declare const MutateDescriptionSchema: S.Union<readonly [S.Boolean, S.$Array<S.declare<{
|
|
2800
|
+
readonly start: {
|
|
2801
|
+
readonly line: number;
|
|
2802
|
+
readonly column: number;
|
|
2803
|
+
};
|
|
2804
|
+
readonly end: {
|
|
2805
|
+
readonly line: number;
|
|
2806
|
+
readonly column: number;
|
|
2807
|
+
};
|
|
2808
|
+
}, {
|
|
2809
|
+
readonly start: {
|
|
2810
|
+
readonly line: number;
|
|
2811
|
+
readonly column: number;
|
|
2812
|
+
};
|
|
2813
|
+
readonly end: {
|
|
2814
|
+
readonly line: number;
|
|
2815
|
+
readonly column: number;
|
|
2816
|
+
};
|
|
2817
|
+
}>>]>;
|
|
2818
|
+
type MutateDescription = typeof MutateDescriptionSchema.Type;
|
|
2819
|
+
interface FileDescription {
|
|
2820
|
+
readonly mutate: MutateDescription;
|
|
2821
|
+
}
|
|
2822
|
+
type FileDescriptions = Record<string, FileDescription>;
|
|
2823
|
+
declare const InstrumenterOptionsSchema: S.Struct<{
|
|
2824
|
+
readonly excludedMutations: S.$Array<S.String>;
|
|
2825
|
+
readonly ignorers: S.$Array<S.Unknown>;
|
|
2826
|
+
readonly noHeader: S.optional<S.Boolean>;
|
|
2827
|
+
readonly optInMutations: S.optional<S.$Array<S.String>>;
|
|
2828
|
+
}>;
|
|
2829
|
+
type InstrumenterOptions = typeof InstrumenterOptionsSchema.Type;
|
|
2830
|
+
declare const InstrumentFileSkip_base: S.Class<InstrumentFileSkip, S.TaggedStruct<"InstrumentFileSkip", {
|
|
2831
|
+
readonly file: S.String;
|
|
2832
|
+
readonly extension: S.String;
|
|
2833
|
+
readonly reason: S.String;
|
|
2834
|
+
}>, {}>;
|
|
2835
|
+
declare class InstrumentFileSkip extends InstrumentFileSkip_base {}
|
|
2836
|
+
declare const InstrumentResult_base: S.Class<InstrumentResult$1, S.TaggedStruct<"InstrumentResult", {
|
|
2837
|
+
readonly files: S.$Array<S.Struct<{
|
|
2838
|
+
readonly name: S.decodeTo<S.brand<S.String, "CanonicalFileName">, S.String, never, never>;
|
|
2839
|
+
readonly content: S.String;
|
|
2840
|
+
readonly mutate: S.Union<readonly [S.Boolean, S.$Array<S.declare<{
|
|
2841
|
+
readonly start: {
|
|
2842
|
+
readonly line: number;
|
|
2843
|
+
readonly column: number;
|
|
2844
|
+
};
|
|
2845
|
+
readonly end: {
|
|
2846
|
+
readonly line: number;
|
|
2847
|
+
readonly column: number;
|
|
2848
|
+
};
|
|
2849
|
+
}, {
|
|
2850
|
+
readonly start: {
|
|
2851
|
+
readonly line: number;
|
|
2852
|
+
readonly column: number;
|
|
2853
|
+
};
|
|
2854
|
+
readonly end: {
|
|
2855
|
+
readonly line: number;
|
|
2856
|
+
readonly column: number;
|
|
2857
|
+
};
|
|
2858
|
+
}>>]>;
|
|
2859
|
+
}>>;
|
|
2860
|
+
readonly mutants: S.$Array<S.Struct<{
|
|
2861
|
+
readonly _tag: S.tag<"Mutant">;
|
|
2862
|
+
readonly id: S.brand<S.String, "MutantId">;
|
|
2863
|
+
readonly fileName: S.decodeTo<S.brand<S.String, "CanonicalFileName">, S.String, never, never>;
|
|
2864
|
+
readonly mutatorName: S.brand<S.NonEmptyString, "MutatorName">;
|
|
2865
|
+
readonly replacement: S.String;
|
|
2866
|
+
readonly location: S.declare<{
|
|
2867
|
+
readonly start: {
|
|
2868
|
+
readonly line: number;
|
|
2869
|
+
readonly column: number;
|
|
2870
|
+
};
|
|
2871
|
+
readonly end: {
|
|
2872
|
+
readonly line: number;
|
|
2873
|
+
readonly column: number;
|
|
2874
|
+
};
|
|
2875
|
+
}, {
|
|
2876
|
+
readonly start: {
|
|
2877
|
+
readonly line: number;
|
|
2878
|
+
readonly column: number;
|
|
2879
|
+
};
|
|
2880
|
+
readonly end: {
|
|
2881
|
+
readonly line: number;
|
|
2882
|
+
readonly column: number;
|
|
2883
|
+
};
|
|
2884
|
+
}>;
|
|
2885
|
+
readonly status: S.optional<S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>>;
|
|
2886
|
+
readonly statusReason: S.optional<S.String>;
|
|
2887
|
+
readonly coveredBy: S.optional<S.$Array<S.String>>;
|
|
2888
|
+
readonly static: S.optional<S.Boolean>;
|
|
2889
|
+
readonly testsCompleted: S.optional<S.Finite>;
|
|
2890
|
+
readonly description: S.optional<S.String>;
|
|
2891
|
+
}>>;
|
|
2892
|
+
readonly skipped: S.$Array<typeof InstrumentFileSkip>;
|
|
2893
|
+
}>, {}>;
|
|
2894
|
+
declare class InstrumentResult$1 extends InstrumentResult_base {}
|
|
2895
|
+
//#endregion
|
|
2896
|
+
//#region src/Parser.schema.d.ts
|
|
2897
|
+
declare const ParseFailed_base: S.Class<ParseFailed, S.TaggedStruct<"ParseFailed", {
|
|
2898
|
+
readonly fileName: S.String;
|
|
2899
|
+
readonly message: S.String;
|
|
2900
|
+
readonly location: S.Struct<{
|
|
2901
|
+
readonly line: S.Int;
|
|
2902
|
+
readonly column: S.Int;
|
|
2903
|
+
}>;
|
|
2904
|
+
readonly cause: S.Defect;
|
|
2905
|
+
}>, import("effect/Cause").YieldableError>;
|
|
2906
|
+
declare class ParseFailed extends ParseFailed_base {
|
|
2907
|
+
get message(): string;
|
|
2908
|
+
}
|
|
2909
|
+
//#endregion
|
|
2910
|
+
//#region src/Parser.service.d.ts
|
|
2911
|
+
interface ParserOptions {}
|
|
2912
|
+
interface ParserContext {
|
|
2913
|
+
parse: (code: string, fileName: string, scriptFormat: ScriptFormat) => Effect$1.Effect<ScriptAst, ParseFailed>;
|
|
2914
|
+
}
|
|
2915
|
+
//#endregion
|
|
2916
|
+
//#region src/print/PrintFailed.schema.d.ts
|
|
2917
|
+
declare const PrintFailed_base: S.Class<PrintFailed, S.TaggedStruct<"PrintFailed", {
|
|
2918
|
+
readonly message: S.String;
|
|
2919
|
+
}>, import("effect/Cause").YieldableError>;
|
|
2920
|
+
declare class PrintFailed extends PrintFailed_base {}
|
|
2921
|
+
//#endregion
|
|
2922
|
+
//#region src/Printer.d.ts
|
|
2923
|
+
interface PrinterContext {
|
|
2924
|
+
print: (file: Ast, context: PrinterContext) => Result.Result<string, PrintFailed>;
|
|
2925
|
+
}
|
|
2926
|
+
//#endregion
|
|
2771
2927
|
//#region src/Mutant.schema.d.ts
|
|
2772
2928
|
declare const MutantStatusSchema: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>;
|
|
2773
2929
|
type MutantStatus = typeof MutantStatusSchema.Type;
|
|
2774
|
-
declare const
|
|
2930
|
+
declare const SurvivorStatusSchema: S.Literals<readonly ["Survived", "NoCoverage"]>;
|
|
2931
|
+
type SurvivorStatus = typeof SurvivorStatusSchema.Type;
|
|
2932
|
+
declare const RememberedStatusSchema: S.Literals<readonly ["Survived", "Killed", "Timeout", "NoCoverage", "Ignored"]>;
|
|
2933
|
+
type RememberedStatus = typeof RememberedStatusSchema.Type;
|
|
2934
|
+
declare const EphemeralStatusSchema: S.Literals<readonly ["CompileError", "RuntimeError", "Pending"]>;
|
|
2935
|
+
type EphemeralStatus = typeof EphemeralStatusSchema.Type;
|
|
2936
|
+
declare const ActionableStatusSchema: S.Literals<readonly ["Survived", "NoCoverage", "Timeout", "RuntimeError"]>;
|
|
2937
|
+
type ActionableStatus = typeof ActionableStatusSchema.Type;
|
|
2938
|
+
declare const MutantId: S.brand<S.String, "MutantId">;
|
|
2775
2939
|
type MutantId = typeof MutantId.Type;
|
|
2776
2940
|
declare const MutatorName: S.brand<S.NonEmptyString, "MutatorName">;
|
|
2777
2941
|
type MutatorName = typeof MutatorName.Type;
|
|
2778
2942
|
declare const CanonicalFileName: S.decodeTo<S.brand<S.String, "CanonicalFileName">, S.String, never, never>;
|
|
2779
2943
|
type CanonicalFileName = typeof CanonicalFileName.Type;
|
|
2780
|
-
|
|
2781
|
-
|
|
2944
|
+
/**
|
|
2945
|
+
* A mutant's file location in the mutation-testing-report-schema contract:
|
|
2946
|
+
* 1-based line and 1-based column, the same base the JSON report and the
|
|
2947
|
+
* machine stream emit. Every producer on the instrument path (node spans,
|
|
2948
|
+
* embedded-region shifts) targets this base; no downstream layer converts.
|
|
2949
|
+
*/
|
|
2950
|
+
declare const Mutant$1: S.Struct<{
|
|
2951
|
+
readonly _tag: S.tag<"Mutant">;
|
|
2952
|
+
readonly id: S.brand<S.String, "MutantId">;
|
|
2782
2953
|
readonly fileName: S.decodeTo<S.brand<S.String, "CanonicalFileName">, S.String, never, never>;
|
|
2783
2954
|
readonly mutatorName: S.brand<S.NonEmptyString, "MutatorName">;
|
|
2784
2955
|
readonly replacement: S.String;
|
|
2785
|
-
readonly location: S.
|
|
2786
|
-
readonly start:
|
|
2787
|
-
readonly line:
|
|
2788
|
-
readonly column:
|
|
2789
|
-
}
|
|
2790
|
-
readonly end:
|
|
2791
|
-
readonly line:
|
|
2792
|
-
readonly column:
|
|
2793
|
-
}
|
|
2956
|
+
readonly location: S.declare<{
|
|
2957
|
+
readonly start: {
|
|
2958
|
+
readonly line: number;
|
|
2959
|
+
readonly column: number;
|
|
2960
|
+
};
|
|
2961
|
+
readonly end: {
|
|
2962
|
+
readonly line: number;
|
|
2963
|
+
readonly column: number;
|
|
2964
|
+
};
|
|
2965
|
+
}, {
|
|
2966
|
+
readonly start: {
|
|
2967
|
+
readonly line: number;
|
|
2968
|
+
readonly column: number;
|
|
2969
|
+
};
|
|
2970
|
+
readonly end: {
|
|
2971
|
+
readonly line: number;
|
|
2972
|
+
readonly column: number;
|
|
2973
|
+
};
|
|
2794
2974
|
}>;
|
|
2795
2975
|
readonly status: S.optional<S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>>;
|
|
2796
2976
|
readonly statusReason: S.optional<S.String>;
|
|
@@ -2798,15 +2978,40 @@ declare const Mutant_base: S.Class<Mutant$1, S.TaggedStruct<"Mutant", {
|
|
|
2798
2978
|
readonly static: S.optional<S.Boolean>;
|
|
2799
2979
|
readonly testsCompleted: S.optional<S.Finite>;
|
|
2800
2980
|
readonly description: S.optional<S.String>;
|
|
2801
|
-
}
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
2981
|
+
}>;
|
|
2982
|
+
type Mutant$1 = typeof Mutant$1.Type;
|
|
2983
|
+
declare const MutantFromUnknown: S.compose<S.Struct<{
|
|
2984
|
+
readonly _tag: S.tag<"Mutant">;
|
|
2985
|
+
readonly id: S.brand<S.String, "MutantId">;
|
|
2986
|
+
readonly fileName: S.decodeTo<S.brand<S.String, "CanonicalFileName">, S.String, never, never>;
|
|
2987
|
+
readonly mutatorName: S.brand<S.NonEmptyString, "MutatorName">;
|
|
2988
|
+
readonly replacement: S.String;
|
|
2989
|
+
readonly location: S.declare<{
|
|
2990
|
+
readonly start: {
|
|
2991
|
+
readonly line: number;
|
|
2992
|
+
readonly column: number;
|
|
2993
|
+
};
|
|
2994
|
+
readonly end: {
|
|
2995
|
+
readonly line: number;
|
|
2996
|
+
readonly column: number;
|
|
2997
|
+
};
|
|
2998
|
+
}, {
|
|
2999
|
+
readonly start: {
|
|
3000
|
+
readonly line: number;
|
|
3001
|
+
readonly column: number;
|
|
3002
|
+
};
|
|
3003
|
+
readonly end: {
|
|
3004
|
+
readonly line: number;
|
|
3005
|
+
readonly column: number;
|
|
3006
|
+
};
|
|
3007
|
+
}>;
|
|
3008
|
+
readonly status: S.optional<S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>>;
|
|
3009
|
+
readonly statusReason: S.optional<S.String>;
|
|
3010
|
+
readonly coveredBy: S.optional<S.$Array<S.String>>;
|
|
3011
|
+
readonly static: S.optional<S.Boolean>;
|
|
3012
|
+
readonly testsCompleted: S.optional<S.Finite>;
|
|
3013
|
+
readonly description: S.optional<S.String>;
|
|
3014
|
+
}>, S.Unknown>;
|
|
2810
3015
|
type MutantFromUnknown = typeof MutantFromUnknown.Type;
|
|
2811
3016
|
declare const RunOptionsFields: {
|
|
2812
3017
|
timeout: S.Finite;
|
|
@@ -2814,10 +3019,42 @@ declare const RunOptionsFields: {
|
|
|
2814
3019
|
};
|
|
2815
3020
|
declare const MutantActivationSchema: S.Literals<readonly ["runtime", "static"]>;
|
|
2816
3021
|
type MutantActivation = typeof MutantActivationSchema.Type;
|
|
3022
|
+
declare const HitCount: S.Int;
|
|
2817
3023
|
declare const MutantRunOptionsSchema: S.Struct<{
|
|
2818
3024
|
readonly timeout: S.Finite;
|
|
2819
3025
|
readonly disableBail: S.Boolean;
|
|
2820
|
-
readonly activeMutant:
|
|
3026
|
+
readonly activeMutant: S.Struct<{
|
|
3027
|
+
readonly _tag: S.tag<"Mutant">;
|
|
3028
|
+
readonly id: S.brand<S.String, "MutantId">;
|
|
3029
|
+
readonly fileName: S.decodeTo<S.brand<S.String, "CanonicalFileName">, S.String, never, never>;
|
|
3030
|
+
readonly mutatorName: S.brand<S.NonEmptyString, "MutatorName">;
|
|
3031
|
+
readonly replacement: S.String;
|
|
3032
|
+
readonly location: S.declare<{
|
|
3033
|
+
readonly start: {
|
|
3034
|
+
readonly line: number;
|
|
3035
|
+
readonly column: number;
|
|
3036
|
+
};
|
|
3037
|
+
readonly end: {
|
|
3038
|
+
readonly line: number;
|
|
3039
|
+
readonly column: number;
|
|
3040
|
+
};
|
|
3041
|
+
}, {
|
|
3042
|
+
readonly start: {
|
|
3043
|
+
readonly line: number;
|
|
3044
|
+
readonly column: number;
|
|
3045
|
+
};
|
|
3046
|
+
readonly end: {
|
|
3047
|
+
readonly line: number;
|
|
3048
|
+
readonly column: number;
|
|
3049
|
+
};
|
|
3050
|
+
}>;
|
|
3051
|
+
readonly status: S.optional<S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>>;
|
|
3052
|
+
readonly statusReason: S.optional<S.String>;
|
|
3053
|
+
readonly coveredBy: S.optional<S.$Array<S.String>>;
|
|
3054
|
+
readonly static: S.optional<S.Boolean>;
|
|
3055
|
+
readonly testsCompleted: S.optional<S.Finite>;
|
|
3056
|
+
readonly description: S.optional<S.String>;
|
|
3057
|
+
}>;
|
|
2821
3058
|
readonly sandboxFileName: S.String;
|
|
2822
3059
|
readonly mutantActivation: S.Literals<readonly ["runtime", "static"]>;
|
|
2823
3060
|
readonly reloadEnvironment: S.Boolean;
|
|
@@ -2825,8 +3062,8 @@ declare const MutantRunOptionsSchema: S.Struct<{
|
|
|
2825
3062
|
readonly hitLimit: S.optionalKey<S.Int>;
|
|
2826
3063
|
}>;
|
|
2827
3064
|
declare const MutantCoverageSchema$1: S.Struct<{
|
|
2828
|
-
readonly perTest: S.$Record<S.String, S.$Record<S.String, S.Int>>;
|
|
2829
|
-
readonly static: S.$Record<S.String, S.Int>;
|
|
3065
|
+
readonly perTest: S.$Record<S.String, S.$Record<S.brand<S.String, "MutantId">, S.Int>>;
|
|
3066
|
+
readonly static: S.$Record<S.brand<S.String, "MutantId">, S.Int>;
|
|
2830
3067
|
}>;
|
|
2831
3068
|
type MutantCoverage = typeof MutantCoverageSchema$1.Type;
|
|
2832
3069
|
type CoverageData = Record<string, number>;
|
|
@@ -2874,11 +3111,11 @@ declare const InstrumenterContext_base: S.Class<InstrumenterContext, S.Struct<{
|
|
|
2874
3111
|
readonly activeMutant: S.optional<S.String>;
|
|
2875
3112
|
readonly currentTestId: S.optional<S.String>;
|
|
2876
3113
|
readonly mutantCoverage: S.optional<S.Struct<{
|
|
2877
|
-
readonly perTest: S.$Record<S.String, S.$Record<S.String, S.Int>>;
|
|
2878
|
-
readonly static: S.$Record<S.String, S.Int>;
|
|
3114
|
+
readonly perTest: S.$Record<S.String, S.$Record<S.brand<S.String, "MutantId">, S.Int>>;
|
|
3115
|
+
readonly static: S.$Record<S.brand<S.String, "MutantId">, S.Int>;
|
|
2879
3116
|
}>>;
|
|
2880
|
-
readonly hitCount: S.optional<S.
|
|
2881
|
-
readonly hitLimit: S.optional<S.
|
|
3117
|
+
readonly hitCount: S.optional<S.Int>;
|
|
3118
|
+
readonly hitLimit: S.optional<S.Int>;
|
|
2882
3119
|
}>, {}>;
|
|
2883
3120
|
declare class InstrumenterContext extends InstrumenterContext_base {
|
|
2884
3121
|
static readonly NAMESPACE = "__stryker__";
|
|
@@ -2893,92 +3130,6 @@ type MutantRunPlan = RunPlan;
|
|
|
2893
3130
|
type MutantEarlyResultPlan = EarlyResultPlan;
|
|
2894
3131
|
type MutantTestPlan = TestPlan;
|
|
2895
3132
|
//#endregion
|
|
2896
|
-
//#region src/Instrument.schema.d.ts
|
|
2897
|
-
declare const InstrumentError_base: S.Class<InstrumentError, S.TaggedStruct<"InstrumentError", {
|
|
2898
|
-
readonly message: S.String;
|
|
2899
|
-
readonly cause: S.Defect;
|
|
2900
|
-
}>, import("effect/Cause").YieldableError>;
|
|
2901
|
-
declare class InstrumentError extends InstrumentError_base {
|
|
2902
|
-
get message(): string;
|
|
2903
|
-
}
|
|
2904
|
-
declare const MutateDescriptionSchema: S.Union<readonly [S.Boolean, S.$Array<S.Struct<{
|
|
2905
|
-
readonly start: S.Struct<{
|
|
2906
|
-
readonly line: S.Int;
|
|
2907
|
-
readonly column: S.Int;
|
|
2908
|
-
}>;
|
|
2909
|
-
readonly end: S.Struct<{
|
|
2910
|
-
readonly line: S.Int;
|
|
2911
|
-
readonly column: S.Int;
|
|
2912
|
-
}>;
|
|
2913
|
-
}>>]>;
|
|
2914
|
-
type MutateDescription = typeof MutateDescriptionSchema.Type;
|
|
2915
|
-
interface MutationRange {
|
|
2916
|
-
readonly start: Position;
|
|
2917
|
-
readonly end: Position;
|
|
2918
|
-
}
|
|
2919
|
-
interface FileDescription {
|
|
2920
|
-
readonly mutate: MutateDescription;
|
|
2921
|
-
}
|
|
2922
|
-
type FileDescriptions = Record<string, FileDescription>;
|
|
2923
|
-
declare const InstrumenterOptionsSchema: S.Struct<{
|
|
2924
|
-
readonly excludedMutations: S.$Array<S.String>;
|
|
2925
|
-
readonly ignorers: S.$Array<S.Unknown>;
|
|
2926
|
-
readonly noHeader: S.optional<S.Boolean>;
|
|
2927
|
-
readonly optInMutations: S.optional<S.$Array<S.String>>;
|
|
2928
|
-
}>;
|
|
2929
|
-
type InstrumenterOptions = typeof InstrumenterOptionsSchema.Type;
|
|
2930
|
-
declare const InstrumentFileSkip_base: S.Class<InstrumentFileSkip, S.TaggedStruct<"InstrumentFileSkip", {
|
|
2931
|
-
readonly file: S.String;
|
|
2932
|
-
readonly extension: S.String;
|
|
2933
|
-
readonly reason: S.String;
|
|
2934
|
-
}>, {}>;
|
|
2935
|
-
declare class InstrumentFileSkip extends InstrumentFileSkip_base {}
|
|
2936
|
-
declare const InstrumentResult_base: S.Class<InstrumentResult$1, S.TaggedStruct<"InstrumentResult", {
|
|
2937
|
-
readonly files: S.$Array<S.Struct<{
|
|
2938
|
-
readonly name: S.String;
|
|
2939
|
-
readonly content: S.String;
|
|
2940
|
-
readonly mutate: S.Union<readonly [S.Boolean, S.$Array<S.Struct<{
|
|
2941
|
-
readonly start: S.Struct<{
|
|
2942
|
-
readonly line: S.Int;
|
|
2943
|
-
readonly column: S.Int;
|
|
2944
|
-
}>;
|
|
2945
|
-
readonly end: S.Struct<{
|
|
2946
|
-
readonly line: S.Int;
|
|
2947
|
-
readonly column: S.Int;
|
|
2948
|
-
}>;
|
|
2949
|
-
}>>]>;
|
|
2950
|
-
}>>;
|
|
2951
|
-
readonly mutants: S.$Array<typeof Mutant$1>;
|
|
2952
|
-
readonly skipped: S.$Array<typeof InstrumentFileSkip>;
|
|
2953
|
-
}>, {}>;
|
|
2954
|
-
declare class InstrumentResult$1 extends InstrumentResult_base {}
|
|
2955
|
-
//#endregion
|
|
2956
|
-
//#region src/Parser.schema.d.ts
|
|
2957
|
-
declare const ParseFailed_base: S.Class<ParseFailed, S.TaggedStruct<"ParseFailed", {
|
|
2958
|
-
readonly fileName: S.String;
|
|
2959
|
-
readonly message: S.String;
|
|
2960
|
-
readonly location: S.Struct<{
|
|
2961
|
-
readonly line: S.Finite;
|
|
2962
|
-
readonly column: S.Finite;
|
|
2963
|
-
}>;
|
|
2964
|
-
readonly cause: S.Defect;
|
|
2965
|
-
}>, import("effect/Cause").YieldableError>;
|
|
2966
|
-
declare class ParseFailed extends ParseFailed_base {
|
|
2967
|
-
get message(): string;
|
|
2968
|
-
}
|
|
2969
|
-
//#endregion
|
|
2970
|
-
//#region src/Parser.service.d.ts
|
|
2971
|
-
interface ParserOptions {}
|
|
2972
|
-
interface ParserContext {
|
|
2973
|
-
parse: (code: string, fileName: string, scriptFormat: ScriptFormat) => Effect$1.Effect<ScriptAst, ParseFailed>;
|
|
2974
|
-
}
|
|
2975
|
-
//#endregion
|
|
2976
|
-
//#region src/Printer.d.ts
|
|
2977
|
-
type Printer<T extends Ast = Ast> = (file: T, context: PrinterContext) => string;
|
|
2978
|
-
interface PrinterContext {
|
|
2979
|
-
print: Printer<Ast>;
|
|
2980
|
-
}
|
|
2981
|
-
//#endregion
|
|
2982
3133
|
//#region src/Mutator.service.d.ts
|
|
2983
3134
|
interface Mutable {
|
|
2984
3135
|
mutatorName: string;
|
|
@@ -2986,7 +3137,7 @@ interface Mutable {
|
|
|
2986
3137
|
replacement: Node_2;
|
|
2987
3138
|
}
|
|
2988
3139
|
interface Mutant extends Mutable {
|
|
2989
|
-
readonly id:
|
|
3140
|
+
readonly id: MutantId;
|
|
2990
3141
|
readonly fileName: string;
|
|
2991
3142
|
readonly original: Node_2;
|
|
2992
3143
|
readonly location: Location;
|
|
@@ -3085,53 +3236,61 @@ declare const disableTypeChecks: {
|
|
|
3085
3236
|
(registry?: FormatRegistry): (file: File) => Effect$1.Effect<File, InstrumentError>;
|
|
3086
3237
|
};
|
|
3087
3238
|
declare namespace mod_d_exports$2$1 {
|
|
3088
|
-
export { File, FileDescription, FileDescriptions, InstrumentError, InstrumentFileSkip, InstrumentResult, InstrumenterOptions, MutateDescription,
|
|
3239
|
+
export { File, FileDescription, FileDescriptions, InstrumentError, InstrumentFileSkip, InstrumentResult, InstrumenterOptions, MutateDescription, ParserOptions, disableTypeChecks, instrument };
|
|
3089
3240
|
}
|
|
3090
3241
|
declare namespace mod_d_exports$3$1 {
|
|
3091
|
-
export { CanonicalFileName, CanonicalFileName as CanonicalFileNameValue, Coverage, CoverageData, CoveragePerTestId, EarlyResultPlan, InstrumenterContext,
|
|
3242
|
+
export { ActionableStatus, ActionableStatusSchema, CanonicalFileName, CanonicalFileName as CanonicalFileNameValue, Column, Coverage, CoverageData, CoveragePerTestId, EarlyResultPlan, EphemeralStatus, EphemeralStatusSchema, HitCount, InstrumenterContext, Line, LineStarts, Location, Mutant$1 as Mutant, MutantActivation, MutantActivationSchema, MutantCoverage, MutantCoverageSchema$1 as MutantCoverageSchema, MutantEarlyResultPlan, MutantFromUnknown, MutantFromUnknown as MutantFromUnknownValue, MutantId, MutantId as MutantIdValue, MutantRunOptions, MutantRunOptionsSchema, MutantRunPlan, MutantStatus, MutantStatusSchema, MutantTestCoverage, MutantTestPlan, MutatorName, MutatorName as MutatorNameValue, Offset, OpenEndLocation, Position, RememberedStatus, RememberedStatusSchema, RunMutantResult, RunOptions, RunOptionsFields, RunPlan, ScriptOrigin, Span, SurvivorStatus, SurvivorStatusSchema, TestPlan };
|
|
3092
3243
|
}
|
|
3093
3244
|
//#endregion
|
|
3094
3245
|
//#region ../stryker-js-plugin-interface/dist/index.d.mts
|
|
3095
3246
|
//#region src/Checker.schema.d.ts
|
|
3096
3247
|
declare const CheckerMutantWire: S.Struct<{
|
|
3097
|
-
readonly id: S.brand<S.
|
|
3248
|
+
readonly id: S.brand<S.String, "MutantId">;
|
|
3098
3249
|
readonly fileName: S.decodeTo<S.brand<S.String, "CanonicalFileName">, S.String, never, never>;
|
|
3099
3250
|
readonly mutatorName: S.brand<S.NonEmptyString, "MutatorName">;
|
|
3100
3251
|
readonly replacement: S.String;
|
|
3101
|
-
readonly location: S.
|
|
3102
|
-
readonly start:
|
|
3103
|
-
readonly line:
|
|
3104
|
-
readonly column:
|
|
3105
|
-
}
|
|
3106
|
-
readonly end:
|
|
3107
|
-
readonly line:
|
|
3108
|
-
readonly column:
|
|
3109
|
-
}
|
|
3252
|
+
readonly location: S.declare<{
|
|
3253
|
+
readonly start: {
|
|
3254
|
+
readonly line: number;
|
|
3255
|
+
readonly column: number;
|
|
3256
|
+
};
|
|
3257
|
+
readonly end: {
|
|
3258
|
+
readonly line: number;
|
|
3259
|
+
readonly column: number;
|
|
3260
|
+
};
|
|
3261
|
+
}, {
|
|
3262
|
+
readonly start: {
|
|
3263
|
+
readonly line: number;
|
|
3264
|
+
readonly column: number;
|
|
3265
|
+
};
|
|
3266
|
+
readonly end: {
|
|
3267
|
+
readonly line: number;
|
|
3268
|
+
readonly column: number;
|
|
3269
|
+
};
|
|
3110
3270
|
}>;
|
|
3111
3271
|
}>;
|
|
3112
3272
|
type CheckerMutantWire = typeof CheckerMutantWire.Type;
|
|
3113
|
-
declare const
|
|
3114
|
-
type CheckStatus = typeof CheckStatus.Type;
|
|
3115
|
-
declare const CheckResultSchema: S.Union<readonly [S.Struct<{
|
|
3273
|
+
declare const CheckResultSchema: S.toTaggedUnion<"status", readonly [S.Struct<{
|
|
3116
3274
|
readonly status: S.Literal<"passed">;
|
|
3117
3275
|
}>, S.Struct<{
|
|
3118
3276
|
readonly status: S.Literal<"compileError">;
|
|
3119
3277
|
readonly reason: S.String;
|
|
3120
3278
|
}>]>;
|
|
3279
|
+
declare const CheckStatus: S.Literals<readonly ["passed", "compileError"]>;
|
|
3280
|
+
type CheckStatus = typeof CheckStatus.Type;
|
|
3121
3281
|
declare const CheckerFailed_base: S.Class<CheckerFailed, S.TaggedStruct<"CheckerFailed", {
|
|
3122
3282
|
readonly cause: S.String;
|
|
3123
3283
|
readonly checkerName: S.String;
|
|
3124
|
-
readonly mutantIds: S.$Array<S.String
|
|
3284
|
+
readonly mutantIds: S.$Array<S.brand<S.String, "MutantId">>;
|
|
3125
3285
|
}>, import("effect/Cause").YieldableError>;
|
|
3126
3286
|
declare class CheckerFailed extends CheckerFailed_base {}
|
|
3127
|
-
|
|
3128
|
-
|
|
3287
|
+
type CheckResult = typeof CheckResultSchema.Type;
|
|
3288
|
+
type FailedCheckResult = Extract<CheckResult, {
|
|
3129
3289
|
readonly status: 'compileError';
|
|
3130
|
-
}
|
|
3131
|
-
|
|
3290
|
+
}>;
|
|
3291
|
+
type PassedCheckResult = Extract<CheckResult, {
|
|
3132
3292
|
readonly status: 'passed';
|
|
3133
|
-
}
|
|
3134
|
-
type CheckResult = FailedCheckResult | PassedCheckResult;
|
|
3293
|
+
}>;
|
|
3135
3294
|
//#endregion
|
|
3136
3295
|
//#region src/Checker.service.d.ts
|
|
3137
3296
|
interface CheckerService {
|
|
@@ -3145,25 +3304,34 @@ declare namespace mod_d_exports {
|
|
|
3145
3304
|
export { CheckResult, CheckResultSchema, CheckStatus, Checker, CheckerFailed, CheckerMutantWire, CheckerService, FailedCheckResult, PassedCheckResult };
|
|
3146
3305
|
}
|
|
3147
3306
|
declare const MutantResultSchema: S.Struct<{
|
|
3148
|
-
readonly id: S.String
|
|
3307
|
+
readonly id: S.brand<S.String, "MutantId">;
|
|
3149
3308
|
readonly mutatorName: S.String;
|
|
3150
3309
|
readonly status: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>;
|
|
3151
|
-
readonly location: S.
|
|
3152
|
-
readonly start:
|
|
3153
|
-
readonly line:
|
|
3154
|
-
readonly column:
|
|
3155
|
-
}
|
|
3156
|
-
readonly end:
|
|
3157
|
-
readonly line:
|
|
3158
|
-
readonly column:
|
|
3159
|
-
}
|
|
3310
|
+
readonly location: S.declare<{
|
|
3311
|
+
readonly start: {
|
|
3312
|
+
readonly line: number;
|
|
3313
|
+
readonly column: number;
|
|
3314
|
+
};
|
|
3315
|
+
readonly end: {
|
|
3316
|
+
readonly line: number;
|
|
3317
|
+
readonly column: number;
|
|
3318
|
+
};
|
|
3319
|
+
}, {
|
|
3320
|
+
readonly start: {
|
|
3321
|
+
readonly line: number;
|
|
3322
|
+
readonly column: number;
|
|
3323
|
+
};
|
|
3324
|
+
readonly end: {
|
|
3325
|
+
readonly line: number;
|
|
3326
|
+
readonly column: number;
|
|
3327
|
+
};
|
|
3160
3328
|
}>;
|
|
3161
3329
|
readonly replacement: S.optional<S.String>;
|
|
3162
3330
|
readonly description: S.optional<S.String>;
|
|
3163
3331
|
readonly statusReason: S.optional<S.String>;
|
|
3164
3332
|
readonly static: S.optional<S.Boolean>;
|
|
3165
|
-
readonly coveredBy: S.optional<S.$Array<S.
|
|
3166
|
-
readonly killedBy: S.optional<S.$Array<S.
|
|
3333
|
+
readonly coveredBy: S.optional<S.$Array<S.brand<S.NonEmptyString, "TestId">>>;
|
|
3334
|
+
readonly killedBy: S.optional<S.$Array<S.brand<S.NonEmptyString, "TestId">>>;
|
|
3167
3335
|
readonly testsCompleted: S.optional<S.Int>;
|
|
3168
3336
|
readonly duration: S.optional<S.Finite>;
|
|
3169
3337
|
}>;
|
|
@@ -3172,25 +3340,34 @@ declare const FileResultSchema: S.Struct<{
|
|
|
3172
3340
|
readonly language: S.String;
|
|
3173
3341
|
readonly source: S.String;
|
|
3174
3342
|
readonly mutants: S.$Array<S.Struct<{
|
|
3175
|
-
readonly id: S.String
|
|
3343
|
+
readonly id: S.brand<S.String, "MutantId">;
|
|
3176
3344
|
readonly mutatorName: S.String;
|
|
3177
3345
|
readonly status: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>;
|
|
3178
|
-
readonly location: S.
|
|
3179
|
-
readonly start:
|
|
3180
|
-
readonly line:
|
|
3181
|
-
readonly column:
|
|
3182
|
-
}
|
|
3183
|
-
readonly end:
|
|
3184
|
-
readonly line:
|
|
3185
|
-
readonly column:
|
|
3186
|
-
}
|
|
3346
|
+
readonly location: S.declare<{
|
|
3347
|
+
readonly start: {
|
|
3348
|
+
readonly line: number;
|
|
3349
|
+
readonly column: number;
|
|
3350
|
+
};
|
|
3351
|
+
readonly end: {
|
|
3352
|
+
readonly line: number;
|
|
3353
|
+
readonly column: number;
|
|
3354
|
+
};
|
|
3355
|
+
}, {
|
|
3356
|
+
readonly start: {
|
|
3357
|
+
readonly line: number;
|
|
3358
|
+
readonly column: number;
|
|
3359
|
+
};
|
|
3360
|
+
readonly end: {
|
|
3361
|
+
readonly line: number;
|
|
3362
|
+
readonly column: number;
|
|
3363
|
+
};
|
|
3187
3364
|
}>;
|
|
3188
3365
|
readonly replacement: S.optional<S.String>;
|
|
3189
3366
|
readonly description: S.optional<S.String>;
|
|
3190
3367
|
readonly statusReason: S.optional<S.String>;
|
|
3191
3368
|
readonly static: S.optional<S.Boolean>;
|
|
3192
|
-
readonly coveredBy: S.optional<S.$Array<S.
|
|
3193
|
-
readonly killedBy: S.optional<S.$Array<S.
|
|
3369
|
+
readonly coveredBy: S.optional<S.$Array<S.brand<S.NonEmptyString, "TestId">>>;
|
|
3370
|
+
readonly killedBy: S.optional<S.$Array<S.brand<S.NonEmptyString, "TestId">>>;
|
|
3194
3371
|
readonly testsCompleted: S.optional<S.Int>;
|
|
3195
3372
|
readonly duration: S.optional<S.Finite>;
|
|
3196
3373
|
}>>;
|
|
@@ -3200,59 +3377,86 @@ declare const FileResultDictionarySchema: S.$Record<S.String, S.Struct<{
|
|
|
3200
3377
|
readonly language: S.String;
|
|
3201
3378
|
readonly source: S.String;
|
|
3202
3379
|
readonly mutants: S.$Array<S.Struct<{
|
|
3203
|
-
readonly id: S.String
|
|
3380
|
+
readonly id: S.brand<S.String, "MutantId">;
|
|
3204
3381
|
readonly mutatorName: S.String;
|
|
3205
3382
|
readonly status: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>;
|
|
3206
|
-
readonly location: S.
|
|
3207
|
-
readonly start:
|
|
3208
|
-
readonly line:
|
|
3209
|
-
readonly column:
|
|
3210
|
-
}
|
|
3211
|
-
readonly end:
|
|
3212
|
-
readonly line:
|
|
3213
|
-
readonly column:
|
|
3214
|
-
}
|
|
3383
|
+
readonly location: S.declare<{
|
|
3384
|
+
readonly start: {
|
|
3385
|
+
readonly line: number;
|
|
3386
|
+
readonly column: number;
|
|
3387
|
+
};
|
|
3388
|
+
readonly end: {
|
|
3389
|
+
readonly line: number;
|
|
3390
|
+
readonly column: number;
|
|
3391
|
+
};
|
|
3392
|
+
}, {
|
|
3393
|
+
readonly start: {
|
|
3394
|
+
readonly line: number;
|
|
3395
|
+
readonly column: number;
|
|
3396
|
+
};
|
|
3397
|
+
readonly end: {
|
|
3398
|
+
readonly line: number;
|
|
3399
|
+
readonly column: number;
|
|
3400
|
+
};
|
|
3215
3401
|
}>;
|
|
3216
3402
|
readonly replacement: S.optional<S.String>;
|
|
3217
3403
|
readonly description: S.optional<S.String>;
|
|
3218
3404
|
readonly statusReason: S.optional<S.String>;
|
|
3219
3405
|
readonly static: S.optional<S.Boolean>;
|
|
3220
|
-
readonly coveredBy: S.optional<S.$Array<S.
|
|
3221
|
-
readonly killedBy: S.optional<S.$Array<S.
|
|
3406
|
+
readonly coveredBy: S.optional<S.$Array<S.brand<S.NonEmptyString, "TestId">>>;
|
|
3407
|
+
readonly killedBy: S.optional<S.$Array<S.brand<S.NonEmptyString, "TestId">>>;
|
|
3222
3408
|
readonly testsCompleted: S.optional<S.Int>;
|
|
3223
3409
|
readonly duration: S.optional<S.Finite>;
|
|
3224
3410
|
}>>;
|
|
3225
3411
|
}>>;
|
|
3226
3412
|
type FileResultDictionary = typeof FileResultDictionarySchema.Type;
|
|
3227
3413
|
declare const TestDefinitionSchema: S.Struct<{
|
|
3228
|
-
readonly id: S.
|
|
3414
|
+
readonly id: S.brand<S.NonEmptyString, "TestId">;
|
|
3229
3415
|
readonly name: S.String;
|
|
3230
|
-
readonly location: S.optional<S.
|
|
3231
|
-
readonly start:
|
|
3232
|
-
readonly line:
|
|
3233
|
-
readonly column:
|
|
3234
|
-
}
|
|
3235
|
-
readonly end
|
|
3236
|
-
readonly line:
|
|
3237
|
-
readonly column:
|
|
3238
|
-
}
|
|
3416
|
+
readonly location: S.optional<S.declare<{
|
|
3417
|
+
readonly start: {
|
|
3418
|
+
readonly line: number;
|
|
3419
|
+
readonly column: number;
|
|
3420
|
+
};
|
|
3421
|
+
readonly end?: {
|
|
3422
|
+
readonly line: number;
|
|
3423
|
+
readonly column: number;
|
|
3424
|
+
} | undefined;
|
|
3425
|
+
}, {
|
|
3426
|
+
readonly start: {
|
|
3427
|
+
readonly line: number;
|
|
3428
|
+
readonly column: number;
|
|
3429
|
+
};
|
|
3430
|
+
readonly end?: {
|
|
3431
|
+
readonly line: number;
|
|
3432
|
+
readonly column: number;
|
|
3433
|
+
} | undefined;
|
|
3239
3434
|
}>>;
|
|
3240
3435
|
}>;
|
|
3241
3436
|
type TestDefinition = typeof TestDefinitionSchema.Type;
|
|
3242
3437
|
declare const TestFileSchema: S.Struct<{
|
|
3243
3438
|
readonly source: S.optional<S.String>;
|
|
3244
3439
|
readonly tests: S.$Array<S.Struct<{
|
|
3245
|
-
readonly id: S.
|
|
3440
|
+
readonly id: S.brand<S.NonEmptyString, "TestId">;
|
|
3246
3441
|
readonly name: S.String;
|
|
3247
|
-
readonly location: S.optional<S.
|
|
3248
|
-
readonly start:
|
|
3249
|
-
readonly line:
|
|
3250
|
-
readonly column:
|
|
3251
|
-
}
|
|
3252
|
-
readonly end
|
|
3253
|
-
readonly line:
|
|
3254
|
-
readonly column:
|
|
3255
|
-
}
|
|
3442
|
+
readonly location: S.optional<S.declare<{
|
|
3443
|
+
readonly start: {
|
|
3444
|
+
readonly line: number;
|
|
3445
|
+
readonly column: number;
|
|
3446
|
+
};
|
|
3447
|
+
readonly end?: {
|
|
3448
|
+
readonly line: number;
|
|
3449
|
+
readonly column: number;
|
|
3450
|
+
} | undefined;
|
|
3451
|
+
}, {
|
|
3452
|
+
readonly start: {
|
|
3453
|
+
readonly line: number;
|
|
3454
|
+
readonly column: number;
|
|
3455
|
+
};
|
|
3456
|
+
readonly end?: {
|
|
3457
|
+
readonly line: number;
|
|
3458
|
+
readonly column: number;
|
|
3459
|
+
} | undefined;
|
|
3256
3460
|
}>>;
|
|
3257
3461
|
}>>;
|
|
3258
3462
|
}>;
|
|
@@ -3260,31 +3464,48 @@ type TestFile = typeof TestFileSchema.Type;
|
|
|
3260
3464
|
declare const TestFileDefinitionDictionarySchema: S.$Record<S.String, S.Struct<{
|
|
3261
3465
|
readonly source: S.optional<S.String>;
|
|
3262
3466
|
readonly tests: S.$Array<S.Struct<{
|
|
3263
|
-
readonly id: S.
|
|
3467
|
+
readonly id: S.brand<S.NonEmptyString, "TestId">;
|
|
3264
3468
|
readonly name: S.String;
|
|
3265
|
-
readonly location: S.optional<S.
|
|
3266
|
-
readonly start:
|
|
3267
|
-
readonly line:
|
|
3268
|
-
readonly column:
|
|
3269
|
-
}
|
|
3270
|
-
readonly end
|
|
3271
|
-
readonly line:
|
|
3272
|
-
readonly column:
|
|
3273
|
-
}
|
|
3469
|
+
readonly location: S.optional<S.declare<{
|
|
3470
|
+
readonly start: {
|
|
3471
|
+
readonly line: number;
|
|
3472
|
+
readonly column: number;
|
|
3473
|
+
};
|
|
3474
|
+
readonly end?: {
|
|
3475
|
+
readonly line: number;
|
|
3476
|
+
readonly column: number;
|
|
3477
|
+
} | undefined;
|
|
3478
|
+
}, {
|
|
3479
|
+
readonly start: {
|
|
3480
|
+
readonly line: number;
|
|
3481
|
+
readonly column: number;
|
|
3482
|
+
};
|
|
3483
|
+
readonly end?: {
|
|
3484
|
+
readonly line: number;
|
|
3485
|
+
readonly column: number;
|
|
3486
|
+
} | undefined;
|
|
3274
3487
|
}>>;
|
|
3275
3488
|
}>>;
|
|
3276
3489
|
}>>;
|
|
3277
3490
|
type TestFileDefinitionDictionary = typeof TestFileDefinitionDictionarySchema.Type;
|
|
3278
|
-
declare const
|
|
3491
|
+
declare const OrderedThresholds: S.declare<{
|
|
3279
3492
|
readonly high: number;
|
|
3280
3493
|
readonly low: number;
|
|
3494
|
+
readonly break: number | null;
|
|
3281
3495
|
}, {
|
|
3282
3496
|
readonly high: number;
|
|
3283
3497
|
readonly low: number;
|
|
3284
|
-
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
|
|
3498
|
+
readonly break: number | null;
|
|
3499
|
+
}>;
|
|
3500
|
+
declare const ThresholdsSchema: S.declare<{
|
|
3501
|
+
readonly high: number;
|
|
3502
|
+
readonly low: number;
|
|
3503
|
+
readonly break: number | null;
|
|
3504
|
+
}, {
|
|
3505
|
+
readonly high: number;
|
|
3506
|
+
readonly low: number;
|
|
3507
|
+
readonly break: number | null;
|
|
3508
|
+
}>;
|
|
3288
3509
|
type Thresholds = typeof ThresholdsSchema.Type;
|
|
3289
3510
|
declare const BrandingInformationSchema: S.Struct<{
|
|
3290
3511
|
readonly homepageUrl: S.String;
|
|
@@ -3309,54 +3530,71 @@ declare const MutationTestResultSchema: S.Struct<{
|
|
|
3309
3530
|
readonly language: S.String;
|
|
3310
3531
|
readonly source: S.String;
|
|
3311
3532
|
readonly mutants: S.$Array<S.Struct<{
|
|
3312
|
-
readonly id: S.String
|
|
3533
|
+
readonly id: S.brand<S.String, "MutantId">;
|
|
3313
3534
|
readonly mutatorName: S.String;
|
|
3314
3535
|
readonly status: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>;
|
|
3315
|
-
readonly location: S.
|
|
3316
|
-
readonly start:
|
|
3317
|
-
readonly line:
|
|
3318
|
-
readonly column:
|
|
3319
|
-
}
|
|
3320
|
-
readonly end:
|
|
3321
|
-
readonly line:
|
|
3322
|
-
readonly column:
|
|
3323
|
-
}
|
|
3536
|
+
readonly location: S.declare<{
|
|
3537
|
+
readonly start: {
|
|
3538
|
+
readonly line: number;
|
|
3539
|
+
readonly column: number;
|
|
3540
|
+
};
|
|
3541
|
+
readonly end: {
|
|
3542
|
+
readonly line: number;
|
|
3543
|
+
readonly column: number;
|
|
3544
|
+
};
|
|
3545
|
+
}, {
|
|
3546
|
+
readonly start: {
|
|
3547
|
+
readonly line: number;
|
|
3548
|
+
readonly column: number;
|
|
3549
|
+
};
|
|
3550
|
+
readonly end: {
|
|
3551
|
+
readonly line: number;
|
|
3552
|
+
readonly column: number;
|
|
3553
|
+
};
|
|
3324
3554
|
}>;
|
|
3325
3555
|
readonly replacement: S.optional<S.String>;
|
|
3326
3556
|
readonly description: S.optional<S.String>;
|
|
3327
3557
|
readonly statusReason: S.optional<S.String>;
|
|
3328
3558
|
readonly static: S.optional<S.Boolean>;
|
|
3329
|
-
readonly coveredBy: S.optional<S.$Array<S.
|
|
3330
|
-
readonly killedBy: S.optional<S.$Array<S.
|
|
3559
|
+
readonly coveredBy: S.optional<S.$Array<S.brand<S.NonEmptyString, "TestId">>>;
|
|
3560
|
+
readonly killedBy: S.optional<S.$Array<S.brand<S.NonEmptyString, "TestId">>>;
|
|
3331
3561
|
readonly testsCompleted: S.optional<S.Int>;
|
|
3332
3562
|
readonly duration: S.optional<S.Finite>;
|
|
3333
3563
|
}>>;
|
|
3334
3564
|
}>>;
|
|
3335
|
-
readonly thresholds: S.
|
|
3565
|
+
readonly thresholds: S.declare<{
|
|
3336
3566
|
readonly high: number;
|
|
3337
3567
|
readonly low: number;
|
|
3568
|
+
readonly break: number | null;
|
|
3338
3569
|
}, {
|
|
3339
3570
|
readonly high: number;
|
|
3340
3571
|
readonly low: number;
|
|
3341
|
-
|
|
3342
|
-
|
|
3343
|
-
readonly low: S.Finite;
|
|
3344
|
-
}>, never, never>;
|
|
3572
|
+
readonly break: number | null;
|
|
3573
|
+
}>;
|
|
3345
3574
|
readonly config: S.optional<S.$Record<S.String, S.Unknown>>;
|
|
3346
3575
|
readonly testFiles: S.optional<S.$Record<S.String, S.Struct<{
|
|
3347
3576
|
readonly source: S.optional<S.String>;
|
|
3348
3577
|
readonly tests: S.$Array<S.Struct<{
|
|
3349
|
-
readonly id: S.
|
|
3578
|
+
readonly id: S.brand<S.NonEmptyString, "TestId">;
|
|
3350
3579
|
readonly name: S.String;
|
|
3351
|
-
readonly location: S.optional<S.
|
|
3352
|
-
readonly start:
|
|
3353
|
-
readonly line:
|
|
3354
|
-
readonly column:
|
|
3355
|
-
}
|
|
3356
|
-
readonly end
|
|
3357
|
-
readonly line:
|
|
3358
|
-
readonly column:
|
|
3359
|
-
}
|
|
3580
|
+
readonly location: S.optional<S.declare<{
|
|
3581
|
+
readonly start: {
|
|
3582
|
+
readonly line: number;
|
|
3583
|
+
readonly column: number;
|
|
3584
|
+
};
|
|
3585
|
+
readonly end?: {
|
|
3586
|
+
readonly line: number;
|
|
3587
|
+
readonly column: number;
|
|
3588
|
+
} | undefined;
|
|
3589
|
+
}, {
|
|
3590
|
+
readonly start: {
|
|
3591
|
+
readonly line: number;
|
|
3592
|
+
readonly column: number;
|
|
3593
|
+
};
|
|
3594
|
+
readonly end?: {
|
|
3595
|
+
readonly line: number;
|
|
3596
|
+
readonly column: number;
|
|
3597
|
+
} | undefined;
|
|
3360
3598
|
}>>;
|
|
3361
3599
|
}>>;
|
|
3362
3600
|
}>>>;
|
|
@@ -3374,6 +3612,8 @@ declare const MutationTestResultSchema: S.Struct<{
|
|
|
3374
3612
|
type MutationTestResult = typeof MutationTestResultSchema.Type;
|
|
3375
3613
|
//#endregion
|
|
3376
3614
|
//#region src/ExitClass.schema.d.ts
|
|
3615
|
+
declare const ExitCode: S.Int;
|
|
3616
|
+
type ExitCode = typeof ExitCode.Type;
|
|
3377
3617
|
declare const ExitClass: S.Literals<readonly ["VerdictFail", "ConfigError", "RuntimeError", "InternalError"]>;
|
|
3378
3618
|
type ExitClass = typeof ExitClass.Type;
|
|
3379
3619
|
declare const ExitCodeFromClass: S.decodeTo<S.Literals<readonly [1, 2, 3, 4]>, S.Literals<readonly ["VerdictFail", "ConfigError", "RuntimeError", "InternalError"]>, never, never>;
|
|
@@ -3451,7 +3691,7 @@ declare const StrykerOptionsSchema: S.StructWithRest<S.Struct<{
|
|
|
3451
3691
|
readonly options: S.optionalKey<S.$Record<S.String, S.Unknown>>;
|
|
3452
3692
|
}>>, never>;
|
|
3453
3693
|
readonly checkerNodeArgs: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
3454
|
-
readonly concurrency: S.optionalKey<S.Union<readonly [S.
|
|
3694
|
+
readonly concurrency: S.optionalKey<S.Union<readonly [S.Int, S.String]>>;
|
|
3455
3695
|
readonly commandRunner: S.withDecodingDefaultKey<S.StructWithRest<S.Struct<{
|
|
3456
3696
|
readonly command: S.withDecodingDefaultKey<S.String, never>;
|
|
3457
3697
|
}>, readonly [S.$Record<S.String, S.Unknown>]>, never>;
|
|
@@ -3460,7 +3700,7 @@ declare const StrykerOptionsSchema: S.StructWithRest<S.Struct<{
|
|
|
3460
3700
|
readonly allowColor: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
3461
3701
|
readonly allowEmojis: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
3462
3702
|
readonly logTests: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
3463
|
-
readonly maxTestsToLog: S.withDecodingDefaultKey<S.
|
|
3703
|
+
readonly maxTestsToLog: S.withDecodingDefaultKey<S.Int, never>;
|
|
3464
3704
|
readonly reportTests: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
3465
3705
|
readonly reportMutants: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
3466
3706
|
readonly reportScoreTable: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
@@ -3476,8 +3716,8 @@ declare const StrykerOptionsSchema: S.StructWithRest<S.Struct<{
|
|
|
3476
3716
|
readonly fileLogLevel: S.withDecodingDefaultKey<S.Literals<readonly ["off", "fatal", "error", "warn", "info", "debug", "trace"]>, never>;
|
|
3477
3717
|
readonly inPlace: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
3478
3718
|
readonly logLevel: S.withDecodingDefaultKey<S.Literals<readonly ["off", "fatal", "error", "warn", "info", "debug", "trace"]>, never>;
|
|
3479
|
-
readonly maxConcurrentTestRunners: S.withDecodingDefaultKey<S.
|
|
3480
|
-
readonly maxTestRunnerReuse: S.withDecodingDefaultKey<S.
|
|
3719
|
+
readonly maxConcurrentTestRunners: S.withDecodingDefaultKey<S.Int, never>;
|
|
3720
|
+
readonly maxTestRunnerReuse: S.withDecodingDefaultKey<S.Int, never>;
|
|
3481
3721
|
readonly mutate: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
3482
3722
|
readonly mutator: S.withDecodingDefaultKey<S.Struct<{
|
|
3483
3723
|
readonly excludedMutations: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
@@ -3517,7 +3757,7 @@ declare const StrykerOptionsSchema: S.StructWithRest<S.Struct<{
|
|
|
3517
3757
|
readonly break: S.withDecodingDefaultKey<S.NullOr<S.Finite>, never>;
|
|
3518
3758
|
}>, never, never>, never>;
|
|
3519
3759
|
readonly timeoutFactor: S.withDecodingDefaultKey<S.Finite, never>;
|
|
3520
|
-
readonly timeoutMS: S.withDecodingDefaultKey<S.
|
|
3760
|
+
readonly timeoutMS: S.withDecodingDefaultKey<S.Int, never>;
|
|
3521
3761
|
readonly dryRunTimeoutMinutes: S.withDecodingDefaultKey<S.Finite, never>;
|
|
3522
3762
|
readonly tsconfigFile: S.withDecodingDefaultKey<S.String, never>;
|
|
3523
3763
|
readonly warnings: S.withDecodingDefaultKey<S.Union<readonly [S.Boolean, S.StructWithRest<S.Struct<{
|
|
@@ -3582,9 +3822,6 @@ declare class Metrics extends Metrics_base {
|
|
|
3582
3822
|
get totalMutants(): number;
|
|
3583
3823
|
get mutationScore(): MutationScore;
|
|
3584
3824
|
get mutationScoreBasedOnCoveredCode(): MutationScore;
|
|
3585
|
-
static fromMutants(mutants: readonly {
|
|
3586
|
-
readonly status: string;
|
|
3587
|
-
}[]): Metrics;
|
|
3588
3825
|
}
|
|
3589
3826
|
declare const MetricsSchema: typeof Metrics;
|
|
3590
3827
|
interface MetricsResult {
|
|
@@ -3600,8 +3837,6 @@ interface MetricsResultEncoded {
|
|
|
3600
3837
|
declare const MetricsResultSchema: S.Codec<MetricsResult, MetricsResultEncoded>;
|
|
3601
3838
|
//#endregion
|
|
3602
3839
|
//#region src/ReporterEvent.schema.d.ts
|
|
3603
|
-
declare const ReporterEventKind: S.Literals<readonly ["dryRunCompleted", "mutationTestingPlanReady", "mutantTested", "mutationTestReportReady"]>;
|
|
3604
|
-
type ReporterEventKind = typeof ReporterEventKind.Type;
|
|
3605
3840
|
declare const RunTimingSchema: S.Struct<{
|
|
3606
3841
|
readonly net: S.Finite;
|
|
3607
3842
|
readonly overhead: S.Finite;
|
|
@@ -3609,7 +3844,7 @@ declare const RunTimingSchema: S.Struct<{
|
|
|
3609
3844
|
type RunTiming = typeof RunTimingSchema.Type;
|
|
3610
3845
|
declare const ReporterPlanKind: S.Literals<readonly ["EarlyResult", "Run"]>;
|
|
3611
3846
|
declare const ReporterPlanDescriptorSchema: S.Struct<{
|
|
3612
|
-
readonly mutantId: S.String
|
|
3847
|
+
readonly mutantId: S.brand<S.String, "MutantId">;
|
|
3613
3848
|
readonly plan: S.Literals<readonly ["EarlyResult", "Run"]>;
|
|
3614
3849
|
readonly netTime: S.Finite;
|
|
3615
3850
|
readonly reloadEnvironment: S.Boolean;
|
|
@@ -3625,7 +3860,7 @@ declare const DryRunCompleted_base: S.Class<DryRunCompleted, S.TaggedStruct<"dry
|
|
|
3625
3860
|
}>;
|
|
3626
3861
|
readonly testCount: S.Int;
|
|
3627
3862
|
readonly tests: S.$Array<S.Union<readonly [S.Struct<{
|
|
3628
|
-
readonly id: S.
|
|
3863
|
+
readonly id: S.brand<S.NonEmptyString, "TestId">;
|
|
3629
3864
|
readonly name: S.String;
|
|
3630
3865
|
readonly timeSpentMs: S.Finite;
|
|
3631
3866
|
readonly fileName: S.optionalKey<S.String>;
|
|
@@ -3636,7 +3871,7 @@ declare const DryRunCompleted_base: S.Class<DryRunCompleted, S.TaggedStruct<"dry
|
|
|
3636
3871
|
readonly status: S.Literal<"failed">;
|
|
3637
3872
|
readonly failureMessage: S.String;
|
|
3638
3873
|
}>, S.Struct<{
|
|
3639
|
-
readonly id: S.
|
|
3874
|
+
readonly id: S.brand<S.NonEmptyString, "TestId">;
|
|
3640
3875
|
readonly name: S.String;
|
|
3641
3876
|
readonly timeSpentMs: S.Finite;
|
|
3642
3877
|
readonly fileName: S.optionalKey<S.String>;
|
|
@@ -3646,7 +3881,7 @@ declare const DryRunCompleted_base: S.Class<DryRunCompleted, S.TaggedStruct<"dry
|
|
|
3646
3881
|
}>>;
|
|
3647
3882
|
readonly status: S.Literal<"skipped">;
|
|
3648
3883
|
}>, S.Struct<{
|
|
3649
|
-
readonly id: S.
|
|
3884
|
+
readonly id: S.brand<S.NonEmptyString, "TestId">;
|
|
3650
3885
|
readonly name: S.String;
|
|
3651
3886
|
readonly timeSpentMs: S.Finite;
|
|
3652
3887
|
readonly fileName: S.optionalKey<S.String>;
|
|
@@ -3661,7 +3896,7 @@ declare class DryRunCompleted extends DryRunCompleted_base {}
|
|
|
3661
3896
|
declare const MutationTestingPlanReady_base: S.Class<MutationTestingPlanReady, S.TaggedStruct<"mutationTestingPlanReady", {
|
|
3662
3897
|
readonly total: S.Int;
|
|
3663
3898
|
readonly plans: S.$Array<S.Struct<{
|
|
3664
|
-
readonly mutantId: S.String
|
|
3899
|
+
readonly mutantId: S.brand<S.String, "MutantId">;
|
|
3665
3900
|
readonly plan: S.Literals<readonly ["EarlyResult", "Run"]>;
|
|
3666
3901
|
readonly netTime: S.Finite;
|
|
3667
3902
|
readonly reloadEnvironment: S.Boolean;
|
|
@@ -3669,20 +3904,29 @@ declare const MutationTestingPlanReady_base: S.Class<MutationTestingPlanReady, S
|
|
|
3669
3904
|
}>, {}>;
|
|
3670
3905
|
declare class MutationTestingPlanReady extends MutationTestingPlanReady_base {}
|
|
3671
3906
|
declare const MutantTested_base: S.Class<MutantTested, S.TaggedStruct<"mutantTested", {
|
|
3672
|
-
readonly id: S.String
|
|
3907
|
+
readonly id: S.brand<S.String, "MutantId">;
|
|
3673
3908
|
readonly status: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>;
|
|
3674
|
-
readonly
|
|
3675
|
-
readonly location: S.
|
|
3676
|
-
readonly start:
|
|
3677
|
-
readonly line:
|
|
3678
|
-
readonly column:
|
|
3679
|
-
}
|
|
3680
|
-
readonly end:
|
|
3681
|
-
readonly line:
|
|
3682
|
-
readonly column:
|
|
3683
|
-
}
|
|
3909
|
+
readonly fileName: S.decodeTo<S.brand<S.String, "CanonicalFileName">, S.String, never, never>;
|
|
3910
|
+
readonly location: S.declare<{
|
|
3911
|
+
readonly start: {
|
|
3912
|
+
readonly line: number;
|
|
3913
|
+
readonly column: number;
|
|
3914
|
+
};
|
|
3915
|
+
readonly end: {
|
|
3916
|
+
readonly line: number;
|
|
3917
|
+
readonly column: number;
|
|
3918
|
+
};
|
|
3919
|
+
}, {
|
|
3920
|
+
readonly start: {
|
|
3921
|
+
readonly line: number;
|
|
3922
|
+
readonly column: number;
|
|
3923
|
+
};
|
|
3924
|
+
readonly end: {
|
|
3925
|
+
readonly line: number;
|
|
3926
|
+
readonly column: number;
|
|
3927
|
+
};
|
|
3684
3928
|
}>;
|
|
3685
|
-
readonly
|
|
3929
|
+
readonly mutatorName: S.brand<S.NonEmptyString, "MutatorName">;
|
|
3686
3930
|
readonly replacement: S.NullOr<S.String>;
|
|
3687
3931
|
readonly completed: S.Int;
|
|
3688
3932
|
readonly total: S.Int;
|
|
@@ -3695,54 +3939,71 @@ declare const MutationTestReportReady_base: S.Class<MutationTestReportReady, S.T
|
|
|
3695
3939
|
readonly language: S.String;
|
|
3696
3940
|
readonly source: S.String;
|
|
3697
3941
|
readonly mutants: S.$Array<S.Struct<{
|
|
3698
|
-
readonly id: S.String
|
|
3942
|
+
readonly id: S.brand<S.String, "MutantId">;
|
|
3699
3943
|
readonly mutatorName: S.String;
|
|
3700
3944
|
readonly status: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>;
|
|
3701
|
-
readonly location: S.
|
|
3702
|
-
readonly start:
|
|
3703
|
-
readonly line:
|
|
3704
|
-
readonly column:
|
|
3705
|
-
}
|
|
3706
|
-
readonly end:
|
|
3707
|
-
readonly line:
|
|
3708
|
-
readonly column:
|
|
3709
|
-
}
|
|
3945
|
+
readonly location: S.declare<{
|
|
3946
|
+
readonly start: {
|
|
3947
|
+
readonly line: number;
|
|
3948
|
+
readonly column: number;
|
|
3949
|
+
};
|
|
3950
|
+
readonly end: {
|
|
3951
|
+
readonly line: number;
|
|
3952
|
+
readonly column: number;
|
|
3953
|
+
};
|
|
3954
|
+
}, {
|
|
3955
|
+
readonly start: {
|
|
3956
|
+
readonly line: number;
|
|
3957
|
+
readonly column: number;
|
|
3958
|
+
};
|
|
3959
|
+
readonly end: {
|
|
3960
|
+
readonly line: number;
|
|
3961
|
+
readonly column: number;
|
|
3962
|
+
};
|
|
3710
3963
|
}>;
|
|
3711
3964
|
readonly replacement: S.optional<S.String>;
|
|
3712
3965
|
readonly description: S.optional<S.String>;
|
|
3713
3966
|
readonly statusReason: S.optional<S.String>;
|
|
3714
3967
|
readonly static: S.optional<S.Boolean>;
|
|
3715
|
-
readonly coveredBy: S.optional<S.$Array<S.
|
|
3716
|
-
readonly killedBy: S.optional<S.$Array<S.
|
|
3968
|
+
readonly coveredBy: S.optional<S.$Array<S.brand<S.NonEmptyString, "TestId">>>;
|
|
3969
|
+
readonly killedBy: S.optional<S.$Array<S.brand<S.NonEmptyString, "TestId">>>;
|
|
3717
3970
|
readonly testsCompleted: S.optional<S.Int>;
|
|
3718
3971
|
readonly duration: S.optional<S.Finite>;
|
|
3719
3972
|
}>>;
|
|
3720
3973
|
}>>;
|
|
3721
|
-
readonly thresholds: S.
|
|
3974
|
+
readonly thresholds: S.declare<{
|
|
3722
3975
|
readonly high: number;
|
|
3723
3976
|
readonly low: number;
|
|
3977
|
+
readonly break: number | null;
|
|
3724
3978
|
}, {
|
|
3725
3979
|
readonly high: number;
|
|
3726
3980
|
readonly low: number;
|
|
3727
|
-
|
|
3728
|
-
|
|
3729
|
-
readonly low: S.Finite;
|
|
3730
|
-
}>, never, never>;
|
|
3981
|
+
readonly break: number | null;
|
|
3982
|
+
}>;
|
|
3731
3983
|
readonly config: S.optional<S.$Record<S.String, S.Unknown>>;
|
|
3732
3984
|
readonly testFiles: S.optional<S.$Record<S.String, S.Struct<{
|
|
3733
3985
|
readonly source: S.optional<S.String>;
|
|
3734
3986
|
readonly tests: S.$Array<S.Struct<{
|
|
3735
|
-
readonly id: S.
|
|
3987
|
+
readonly id: S.brand<S.NonEmptyString, "TestId">;
|
|
3736
3988
|
readonly name: S.String;
|
|
3737
|
-
readonly location: S.optional<S.
|
|
3738
|
-
readonly start:
|
|
3739
|
-
readonly line:
|
|
3740
|
-
readonly column:
|
|
3741
|
-
}
|
|
3742
|
-
readonly end
|
|
3743
|
-
readonly line:
|
|
3744
|
-
readonly column:
|
|
3745
|
-
}
|
|
3989
|
+
readonly location: S.optional<S.declare<{
|
|
3990
|
+
readonly start: {
|
|
3991
|
+
readonly line: number;
|
|
3992
|
+
readonly column: number;
|
|
3993
|
+
};
|
|
3994
|
+
readonly end?: {
|
|
3995
|
+
readonly line: number;
|
|
3996
|
+
readonly column: number;
|
|
3997
|
+
} | undefined;
|
|
3998
|
+
}, {
|
|
3999
|
+
readonly start: {
|
|
4000
|
+
readonly line: number;
|
|
4001
|
+
readonly column: number;
|
|
4002
|
+
};
|
|
4003
|
+
readonly end?: {
|
|
4004
|
+
readonly line: number;
|
|
4005
|
+
readonly column: number;
|
|
4006
|
+
} | undefined;
|
|
3746
4007
|
}>>;
|
|
3747
4008
|
}>>;
|
|
3748
4009
|
}>>>;
|
|
@@ -3760,8 +4021,10 @@ declare const MutationTestReportReady_base: S.Class<MutationTestReportReady, S.T
|
|
|
3760
4021
|
readonly metrics: S.Codec<MetricsResult, MetricsResultEncoded, never, never>;
|
|
3761
4022
|
}>, {}>;
|
|
3762
4023
|
declare class MutationTestReportReady extends MutationTestReportReady_base {}
|
|
3763
|
-
declare const ReporterEventUnion: S.
|
|
3764
|
-
type ReporterEvent =
|
|
4024
|
+
declare const ReporterEventUnion: S.toTaggedUnion<"_tag", readonly [typeof DryRunCompleted, typeof MutationTestingPlanReady, typeof MutantTested, typeof MutationTestReportReady]>;
|
|
4025
|
+
type ReporterEvent = typeof ReporterEventUnion.Type;
|
|
4026
|
+
declare const ReporterEventKind: S.Literals<readonly ["dryRunCompleted", "mutationTestingPlanReady", "mutantTested", "mutationTestReportReady"]>;
|
|
4027
|
+
type ReporterEventKind = typeof ReporterEventKind.Type;
|
|
3765
4028
|
declare const ReporterEventSchema: StandardSchemaV1<typeof ReporterEventUnion['Encoded'], ReporterEvent>;
|
|
3766
4029
|
interface ReporterInit {
|
|
3767
4030
|
readonly traceparent?: string | undefined;
|
|
@@ -3776,6 +4039,8 @@ declare const ReporterFailed_base: S.Class<ReporterFailed, S.TaggedStruct<"Repor
|
|
|
3776
4039
|
declare class ReporterFailed extends ReporterFailed_base {}
|
|
3777
4040
|
//#endregion
|
|
3778
4041
|
//#region src/TestRunner.schema.d.ts
|
|
4042
|
+
declare const TestId: S.brand<S.NonEmptyString, "TestId">;
|
|
4043
|
+
type TestId = typeof TestId.Type;
|
|
3779
4044
|
declare const DryRunStatus: S.Literals<readonly ["complete", "error", "timeout"]>;
|
|
3780
4045
|
type DryRunStatus = typeof DryRunStatus.Type;
|
|
3781
4046
|
declare const TestStatus: S.Literals<readonly ["success", "failed", "skipped"]>;
|
|
@@ -3783,7 +4048,7 @@ type TestStatus = typeof TestStatus.Type;
|
|
|
3783
4048
|
declare const MutantRunStatus: S.Literals<readonly ["killed", "survived", "timeout", "error"]>;
|
|
3784
4049
|
type MutantRunStatus = typeof MutantRunStatus.Type;
|
|
3785
4050
|
declare const TestResultSchema: S.Union<readonly [S.Struct<{
|
|
3786
|
-
readonly id: S.
|
|
4051
|
+
readonly id: S.brand<S.NonEmptyString, "TestId">;
|
|
3787
4052
|
readonly name: S.String;
|
|
3788
4053
|
readonly timeSpentMs: S.Finite;
|
|
3789
4054
|
readonly fileName: S.optionalKey<S.String>;
|
|
@@ -3794,7 +4059,7 @@ declare const TestResultSchema: S.Union<readonly [S.Struct<{
|
|
|
3794
4059
|
readonly status: S.Literal<"failed">;
|
|
3795
4060
|
readonly failureMessage: S.String;
|
|
3796
4061
|
}>, S.Struct<{
|
|
3797
|
-
readonly id: S.
|
|
4062
|
+
readonly id: S.brand<S.NonEmptyString, "TestId">;
|
|
3798
4063
|
readonly name: S.String;
|
|
3799
4064
|
readonly timeSpentMs: S.Finite;
|
|
3800
4065
|
readonly fileName: S.optionalKey<S.String>;
|
|
@@ -3804,7 +4069,7 @@ declare const TestResultSchema: S.Union<readonly [S.Struct<{
|
|
|
3804
4069
|
}>>;
|
|
3805
4070
|
readonly status: S.Literal<"skipped">;
|
|
3806
4071
|
}>, S.Struct<{
|
|
3807
|
-
readonly id: S.
|
|
4072
|
+
readonly id: S.brand<S.NonEmptyString, "TestId">;
|
|
3808
4073
|
readonly name: S.String;
|
|
3809
4074
|
readonly timeSpentMs: S.Finite;
|
|
3810
4075
|
readonly fileName: S.optionalKey<S.String>;
|
|
@@ -3815,13 +4080,13 @@ declare const TestResultSchema: S.Union<readonly [S.Struct<{
|
|
|
3815
4080
|
readonly status: S.Literal<"success">;
|
|
3816
4081
|
}>]>;
|
|
3817
4082
|
declare const MutantCoverageSchema: S.Struct<{
|
|
3818
|
-
readonly perTest: S.$Record<S.String, S.$Record<S.String, S.Finite>>;
|
|
3819
|
-
readonly static: S.$Record<S.String, S.Finite>;
|
|
4083
|
+
readonly perTest: S.$Record<S.String, S.$Record<S.brand<S.String, "MutantId">, S.Finite>>;
|
|
4084
|
+
readonly static: S.$Record<S.brand<S.String, "MutantId">, S.Finite>;
|
|
3820
4085
|
}>;
|
|
3821
4086
|
declare const DryRunResultSchema: S.Union<readonly [S.Struct<{
|
|
3822
4087
|
readonly status: S.Literal<"complete">;
|
|
3823
4088
|
readonly tests: S.$Array<S.Union<readonly [S.Struct<{
|
|
3824
|
-
readonly id: S.
|
|
4089
|
+
readonly id: S.brand<S.NonEmptyString, "TestId">;
|
|
3825
4090
|
readonly name: S.String;
|
|
3826
4091
|
readonly timeSpentMs: S.Finite;
|
|
3827
4092
|
readonly fileName: S.optionalKey<S.String>;
|
|
@@ -3832,7 +4097,7 @@ declare const DryRunResultSchema: S.Union<readonly [S.Struct<{
|
|
|
3832
4097
|
readonly status: S.Literal<"failed">;
|
|
3833
4098
|
readonly failureMessage: S.String;
|
|
3834
4099
|
}>, S.Struct<{
|
|
3835
|
-
readonly id: S.
|
|
4100
|
+
readonly id: S.brand<S.NonEmptyString, "TestId">;
|
|
3836
4101
|
readonly name: S.String;
|
|
3837
4102
|
readonly timeSpentMs: S.Finite;
|
|
3838
4103
|
readonly fileName: S.optionalKey<S.String>;
|
|
@@ -3842,7 +4107,7 @@ declare const DryRunResultSchema: S.Union<readonly [S.Struct<{
|
|
|
3842
4107
|
}>>;
|
|
3843
4108
|
readonly status: S.Literal<"skipped">;
|
|
3844
4109
|
}>, S.Struct<{
|
|
3845
|
-
readonly id: S.
|
|
4110
|
+
readonly id: S.brand<S.NonEmptyString, "TestId">;
|
|
3846
4111
|
readonly name: S.String;
|
|
3847
4112
|
readonly timeSpentMs: S.Finite;
|
|
3848
4113
|
readonly fileName: S.optionalKey<S.String>;
|
|
@@ -3853,8 +4118,8 @@ declare const DryRunResultSchema: S.Union<readonly [S.Struct<{
|
|
|
3853
4118
|
readonly status: S.Literal<"success">;
|
|
3854
4119
|
}>]>>;
|
|
3855
4120
|
readonly mutantCoverage: S.optionalKey<S.Struct<{
|
|
3856
|
-
readonly perTest: S.$Record<S.String, S.$Record<S.String, S.Finite>>;
|
|
3857
|
-
readonly static: S.$Record<S.String, S.Finite>;
|
|
4121
|
+
readonly perTest: S.$Record<S.String, S.$Record<S.brand<S.String, "MutantId">, S.Finite>>;
|
|
4122
|
+
readonly static: S.$Record<S.brand<S.String, "MutantId">, S.Finite>;
|
|
3858
4123
|
}>>;
|
|
3859
4124
|
}>, S.Struct<{
|
|
3860
4125
|
readonly status: S.Literal<"timeout">;
|
|
@@ -3865,12 +4130,12 @@ declare const DryRunResultSchema: S.Union<readonly [S.Struct<{
|
|
|
3865
4130
|
}>]>;
|
|
3866
4131
|
declare const MutantRunResultSchema: S.Union<readonly [S.Struct<{
|
|
3867
4132
|
readonly status: S.Literal<"killed">;
|
|
3868
|
-
readonly killedBy: S.$Array<S.
|
|
4133
|
+
readonly killedBy: S.$Array<S.brand<S.NonEmptyString, "TestId">>;
|
|
3869
4134
|
readonly failureMessage: S.String;
|
|
3870
|
-
readonly nrOfTests: S.
|
|
4135
|
+
readonly nrOfTests: S.Int;
|
|
3871
4136
|
}>, S.Struct<{
|
|
3872
4137
|
readonly status: S.Literal<"survived">;
|
|
3873
|
-
readonly nrOfTests: S.
|
|
4138
|
+
readonly nrOfTests: S.Int;
|
|
3874
4139
|
}>, S.Struct<{
|
|
3875
4140
|
readonly status: S.Literal<"timeout">;
|
|
3876
4141
|
readonly reason: S.optionalKey<S.String>;
|
|
@@ -3896,7 +4161,7 @@ declare const TestRunnerFailed_base: S.Class<TestRunnerFailed, S.TaggedStruct<"T
|
|
|
3896
4161
|
}>, import("effect/Cause").YieldableError>;
|
|
3897
4162
|
declare class TestRunnerFailed extends TestRunnerFailed_base {}
|
|
3898
4163
|
interface BaseTestResult {
|
|
3899
|
-
readonly id:
|
|
4164
|
+
readonly id: TestId;
|
|
3900
4165
|
readonly name: string;
|
|
3901
4166
|
readonly timeSpentMs: number;
|
|
3902
4167
|
readonly fileName?: string;
|
|
@@ -3933,7 +4198,7 @@ interface TimeoutMutantRunResult {
|
|
|
3933
4198
|
}
|
|
3934
4199
|
interface KilledMutantRunResult {
|
|
3935
4200
|
readonly status: 'killed';
|
|
3936
|
-
readonly killedBy: readonly
|
|
4201
|
+
readonly killedBy: readonly TestId[];
|
|
3937
4202
|
readonly failureMessage: string;
|
|
3938
4203
|
readonly nrOfTests: number;
|
|
3939
4204
|
}
|
|
@@ -3959,6 +4224,10 @@ interface TestRunnerCapabilities {
|
|
|
3959
4224
|
//#region src/Plugin.schema.d.ts
|
|
3960
4225
|
declare const WorkerPluginKind: S.Literals<readonly ["TestRunner", "Checker", "Reporter"]>;
|
|
3961
4226
|
type WorkerPluginKind = typeof WorkerPluginKind.Type;
|
|
4227
|
+
declare const EvaluatorPluginKind: S.Literal<"Evaluator">;
|
|
4228
|
+
type EvaluatorPluginKind = typeof EvaluatorPluginKind.Type;
|
|
4229
|
+
declare const PluginKindSchema: S.Union<readonly [S.Literals<readonly ["TestRunner", "Checker", "Reporter"]>, S.Literal<"Evaluator">]>;
|
|
4230
|
+
type PluginKind = typeof PluginKindSchema.Type;
|
|
3962
4231
|
declare const TestRunnerDryRunRequest: S.Struct<{
|
|
3963
4232
|
readonly options: S.Struct<{
|
|
3964
4233
|
readonly timeout: S.Finite;
|
|
@@ -3973,7 +4242,38 @@ declare const TestRunnerMutantRunRequest: S.Struct<{
|
|
|
3973
4242
|
readonly options: S.Struct<{
|
|
3974
4243
|
readonly timeout: S.Finite;
|
|
3975
4244
|
readonly disableBail: S.Boolean;
|
|
3976
|
-
readonly activeMutant:
|
|
4245
|
+
readonly activeMutant: S.Struct<{
|
|
4246
|
+
readonly _tag: S.tag<"Mutant">;
|
|
4247
|
+
readonly id: S.brand<S.String, "MutantId">;
|
|
4248
|
+
readonly fileName: S.decodeTo<S.brand<S.String, "CanonicalFileName">, S.String, never, never>;
|
|
4249
|
+
readonly mutatorName: S.brand<S.NonEmptyString, "MutatorName">;
|
|
4250
|
+
readonly replacement: S.String;
|
|
4251
|
+
readonly location: S.declare<{
|
|
4252
|
+
readonly start: {
|
|
4253
|
+
readonly line: number;
|
|
4254
|
+
readonly column: number;
|
|
4255
|
+
};
|
|
4256
|
+
readonly end: {
|
|
4257
|
+
readonly line: number;
|
|
4258
|
+
readonly column: number;
|
|
4259
|
+
};
|
|
4260
|
+
}, {
|
|
4261
|
+
readonly start: {
|
|
4262
|
+
readonly line: number;
|
|
4263
|
+
readonly column: number;
|
|
4264
|
+
};
|
|
4265
|
+
readonly end: {
|
|
4266
|
+
readonly line: number;
|
|
4267
|
+
readonly column: number;
|
|
4268
|
+
};
|
|
4269
|
+
}>;
|
|
4270
|
+
readonly status: S.optional<S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>>;
|
|
4271
|
+
readonly statusReason: S.optional<S.String>;
|
|
4272
|
+
readonly coveredBy: S.optional<S.$Array<S.String>>;
|
|
4273
|
+
readonly static: S.optional<S.Boolean>;
|
|
4274
|
+
readonly testsCompleted: S.optional<S.Finite>;
|
|
4275
|
+
readonly description: S.optional<S.String>;
|
|
4276
|
+
}>;
|
|
3977
4277
|
readonly sandboxFileName: S.String;
|
|
3978
4278
|
readonly mutantActivation: S.Literals<readonly ["runtime", "static"]>;
|
|
3979
4279
|
readonly reloadEnvironment: S.Boolean;
|
|
@@ -3985,24 +4285,33 @@ type TestRunnerMutantRunRequest = typeof TestRunnerMutantRunRequest.Type;
|
|
|
3985
4285
|
declare const CheckerRequest: S.Struct<{
|
|
3986
4286
|
readonly checkerName: S.String;
|
|
3987
4287
|
readonly mutants: S.$Array<S.Struct<{
|
|
3988
|
-
readonly id: S.brand<S.
|
|
4288
|
+
readonly id: S.brand<S.String, "MutantId">;
|
|
3989
4289
|
readonly fileName: S.decodeTo<S.brand<S.String, "CanonicalFileName">, S.String, never, never>;
|
|
3990
4290
|
readonly mutatorName: S.brand<S.NonEmptyString, "MutatorName">;
|
|
3991
4291
|
readonly replacement: S.String;
|
|
3992
|
-
readonly location: S.
|
|
3993
|
-
readonly start:
|
|
3994
|
-
readonly line:
|
|
3995
|
-
readonly column:
|
|
3996
|
-
}
|
|
3997
|
-
readonly end:
|
|
3998
|
-
readonly line:
|
|
3999
|
-
readonly column:
|
|
4000
|
-
}
|
|
4292
|
+
readonly location: S.declare<{
|
|
4293
|
+
readonly start: {
|
|
4294
|
+
readonly line: number;
|
|
4295
|
+
readonly column: number;
|
|
4296
|
+
};
|
|
4297
|
+
readonly end: {
|
|
4298
|
+
readonly line: number;
|
|
4299
|
+
readonly column: number;
|
|
4300
|
+
};
|
|
4301
|
+
}, {
|
|
4302
|
+
readonly start: {
|
|
4303
|
+
readonly line: number;
|
|
4304
|
+
readonly column: number;
|
|
4305
|
+
};
|
|
4306
|
+
readonly end: {
|
|
4307
|
+
readonly line: number;
|
|
4308
|
+
readonly column: number;
|
|
4309
|
+
};
|
|
4001
4310
|
}>;
|
|
4002
4311
|
}>>;
|
|
4003
4312
|
}>;
|
|
4004
4313
|
type CheckerRequest = typeof CheckerRequest.Type;
|
|
4005
|
-
declare const CheckerCheckResult: S.$Record<S.String, S.
|
|
4314
|
+
declare const CheckerCheckResult: S.$Record<S.String, S.toTaggedUnion<"status", readonly [S.Struct<{
|
|
4006
4315
|
readonly status: S.Literal<"passed">;
|
|
4007
4316
|
}>, S.Struct<{
|
|
4008
4317
|
readonly status: S.Literal<"compileError">;
|
|
@@ -4010,11 +4319,16 @@ declare const CheckerCheckResult: S.$Record<S.String, S.Union<readonly [S.Struct
|
|
|
4010
4319
|
}>]>>;
|
|
4011
4320
|
declare const CheckerGroupResult: S.$Array<S.$Array<S.String>>;
|
|
4012
4321
|
declare const ReporterInitOptions: S.Struct<{
|
|
4013
|
-
readonly traceparent: S.optionalKey<S.
|
|
4322
|
+
readonly traceparent: S.optionalKey<S.decodeTo<S.Struct<{
|
|
4323
|
+
readonly version: S.String;
|
|
4324
|
+
readonly traceId: S.String;
|
|
4325
|
+
readonly spanId: S.String;
|
|
4326
|
+
readonly traceFlags: S.Int;
|
|
4327
|
+
}>, S.String, never, never>>;
|
|
4014
4328
|
readonly tracestate: S.optionalKey<S.String>;
|
|
4015
4329
|
}>;
|
|
4016
4330
|
type ReporterInitOptions = typeof ReporterInitOptions.Type;
|
|
4017
|
-
declare const ReporterEventBatch: S.$Array<S.
|
|
4331
|
+
declare const ReporterEventBatch: S.$Array<S.toTaggedUnion<"_tag", readonly [typeof DryRunCompleted, typeof MutationTestingPlanReady, typeof MutantTested, typeof MutationTestReportReady]>>;
|
|
4018
4332
|
type ReporterEventBatch = typeof ReporterEventBatch.Type;
|
|
4019
4333
|
declare const ReporterAck: S.Void;
|
|
4020
4334
|
declare const ReporterDrained: S.Void;
|
|
@@ -4051,17 +4365,30 @@ declare const PropagatedTrace_base: Context.ServiceClass<PropagatedTrace, "@syst
|
|
|
4051
4365
|
declare class PropagatedTrace extends PropagatedTrace_base {}
|
|
4052
4366
|
declare const TraceContextMiddleware_base: RpcMiddleware.ServiceClass<TraceContextMiddleware, "@systemfsoftware/stryker-js-plugin-interface/TraceContextMiddleware", typeof PropagatedTrace, Schema.Never, never, never, true>;
|
|
4053
4367
|
declare class TraceContextMiddleware extends TraceContextMiddleware_base {}
|
|
4054
|
-
type TracedRpc<Tag extends string, Payload extends Schema.Top = Schema.Void, Success extends Schema.Top = Schema.Void, Error extends Schema.Top = Schema.Never> = Rpc.Rpc<Tag, Payload, Success, Error
|
|
4368
|
+
type TracedRpc<Tag extends string, Payload extends Schema.Top = Schema.Void, Success extends Schema.Top = Schema.Void, Error extends Schema.Top = Schema.Never> = Rpc.AddMiddleware<Rpc.Rpc<Tag, Payload, Success, Error>, typeof TraceContextMiddleware>;
|
|
4055
4369
|
//#endregion
|
|
4056
4370
|
//#region src/PluginRpcs.service.d.ts
|
|
4057
|
-
declare const
|
|
4058
|
-
declare const
|
|
4059
|
-
declare const
|
|
4371
|
+
declare const capabilities: TracedRpc<'capabilities', Schema.Void, typeof TestRunnerCapabilitiesSchema, typeof TestRunnerFailed>;
|
|
4372
|
+
declare const dryRun: TracedRpc<'dryRun', typeof TestRunnerDryRunRequest, typeof DryRunResultSchema, typeof TestRunnerFailed>;
|
|
4373
|
+
declare const mutantRun: TracedRpc<'mutantRun', typeof TestRunnerMutantRunRequest, typeof MutantRunResultSchema, typeof TestRunnerFailed>;
|
|
4374
|
+
declare const check: TracedRpc<'check', typeof CheckerRequest, typeof CheckerCheckResult, typeof CheckerFailed>;
|
|
4375
|
+
declare const group: TracedRpc<'group', typeof CheckerRequest, typeof CheckerGroupResult, typeof CheckerFailed>;
|
|
4376
|
+
declare const init: TracedRpc<'init', typeof ReporterInitOptions, typeof ReporterAck, typeof ReporterFailed>;
|
|
4377
|
+
declare const onEventBatch: TracedRpc<'onEventBatch', typeof ReporterEventBatch, typeof ReporterAck, typeof ReporterFailed>;
|
|
4378
|
+
declare const flush: TracedRpc<'flush', Schema.Void, typeof ReporterDrained, typeof ReporterFailed>;
|
|
4379
|
+
declare const TestRunnerRpcs: RpcGroup.RpcGroup<typeof capabilities | typeof dryRun | typeof mutantRun>;
|
|
4380
|
+
declare const CheckerRpcs: RpcGroup.RpcGroup<typeof check | typeof group>;
|
|
4381
|
+
declare const ReporterRpcs: RpcGroup.RpcGroup<typeof init | typeof onEventBatch | typeof flush>;
|
|
4060
4382
|
declare namespace mod_d_exports$3 {
|
|
4061
|
-
export { BoundaryError, BoundaryErrorSchema, BoundaryPayloadRejected, BoundaryUnrecognizedSignal, CheckerCheckResult, CheckerGroupResult, CheckerRequest, CheckerRpcs, ExitClass, ExitCodeFromClass, ReporterAck, ReporterDrained, ReporterEventBatch, ReporterInitOptions, ReporterRpcs, TestRunnerDryRunRequest, TestRunnerMutantRunRequest, TestRunnerRpcs, WorkerEntryUrl, WorkerPluginKind, WorkerPluginSpawn, WorkerPluginSpawnSchema };
|
|
4383
|
+
export { BoundaryError, BoundaryErrorSchema, BoundaryPayloadRejected, BoundaryUnrecognizedSignal, CheckerCheckResult, CheckerGroupResult, CheckerRequest, CheckerRpcs, EvaluatorPluginKind, ExitClass, ExitCode, ExitCodeFromClass, PluginKind, PluginKindSchema, ReporterAck, ReporterDrained, ReporterEventBatch, ReporterInitOptions, ReporterRpcs, TestRunnerDryRunRequest, TestRunnerMutantRunRequest, TestRunnerRpcs, WorkerEntryUrl, WorkerPluginKind, WorkerPluginSpawn, WorkerPluginSpawnSchema };
|
|
4062
4384
|
}
|
|
4385
|
+
//#endregion
|
|
4386
|
+
//#region src/Metrics.d.ts
|
|
4387
|
+
declare const metricsFromMutants: (mutants: readonly {
|
|
4388
|
+
readonly status: mod_d_exports$3$1.MutantStatus;
|
|
4389
|
+
}[]) => Metrics;
|
|
4063
4390
|
declare namespace mod_d_exports$4 {
|
|
4064
|
-
export { BrandingInformation, BrandingInformationSchema, Dependencies, DependenciesSchema, DetectedStatus, FileResult, FileResultDictionary, FileResultDictionarySchema, FileResultSchema, FrameworkInformation, FrameworkInformationSchema, InvalidStatus, Metrics, MetricsResult, MetricsResultEncoded, MetricsResultSchema, MetricsSchema, MutantResult, MutantResultSchema, MutationScore, MutationTestResult, MutationTestResultSchema, NonNegativeFinite, NonNegativeInt, Percentage, TestDefinition, TestDefinitionSchema, TestFile, TestFileDefinitionDictionary, TestFileDefinitionDictionarySchema, TestFileSchema, Thresholds, ThresholdsSchema, UndetectedStatus, UntestedStatus };
|
|
4391
|
+
export { BrandingInformation, BrandingInformationSchema, Dependencies, DependenciesSchema, DetectedStatus, FileResult, FileResultDictionary, FileResultDictionarySchema, FileResultSchema, FrameworkInformation, FrameworkInformationSchema, InvalidStatus, Metrics, MetricsResult, MetricsResultEncoded, MetricsResultSchema, MetricsSchema, MutantResult, MutantResultSchema, MutationScore, MutationTestResult, MutationTestResultSchema, NonNegativeFinite, NonNegativeInt, OrderedThresholds, Percentage, TestDefinition, TestDefinitionSchema, TestFile, TestFileDefinitionDictionary, TestFileDefinitionDictionarySchema, TestFileSchema, Thresholds, ThresholdsSchema, UndetectedStatus, UntestedStatus, metricsFromMutants };
|
|
4065
4392
|
}
|
|
4066
4393
|
declare namespace mod_d_exports$5 {
|
|
4067
4394
|
export { DryRunCompleted, MutantTested, MutationTestReportReady, MutationTestingPlanReady, ReporterEvent, ReporterEventKind, ReporterEventSchema, ReporterEventUnion, ReporterFactory, ReporterFailed, ReporterInit, ReporterPlanDescriptor, ReporterPlanDescriptorSchema, ReporterPlanKind, RunTiming, RunTimingSchema };
|
|
@@ -4087,7 +4414,7 @@ interface TestRunnerService {
|
|
|
4087
4414
|
declare const TestRunner_base: Context.ServiceClass<TestRunner, "@systemfsoftware/stryker-js-plugin-interface/TestRunner.service/TestRunner", TestRunnerService>;
|
|
4088
4415
|
declare class TestRunner extends TestRunner_base {}
|
|
4089
4416
|
declare namespace mod_d_exports$6 {
|
|
4090
|
-
export { BaseTestResult, CompleteDryRunResult, CoverageAnalysis, CoverageAnalysisSchema, DryRunOptions, DryRunOptionsSchema, DryRunResult, DryRunResultSchema, DryRunStatus, ErrorDryRunResult, ErrorMutantRunResult, FailedTestResult, HitLimitReason, HitLimitReasonPrefix, HitLimitReasonText, KilledMutantRunResult, MutantCoverageSchema, MutantRunResult, MutantRunResultSchema, MutantRunStatus, SkippedTestResult, SuccessTestResult, SurvivedMutantRunResult, TestResult, TestResultSchema, TestRunner, TestRunnerCapabilities, TestRunnerCapabilitiesSchema, TestRunnerFailed, TestRunnerService, TestStatus, TimeoutDryRunResult, TimeoutMutantRunResult, WallClockTimeoutReason };
|
|
4417
|
+
export { BaseTestResult, CompleteDryRunResult, CoverageAnalysis, CoverageAnalysisSchema, DryRunOptions, DryRunOptionsSchema, DryRunResult, DryRunResultSchema, DryRunStatus, ErrorDryRunResult, ErrorMutantRunResult, FailedTestResult, HitLimitReason, HitLimitReasonPrefix, HitLimitReasonText, KilledMutantRunResult, MutantCoverageSchema, MutantRunResult, MutantRunResultSchema, MutantRunStatus, SkippedTestResult, SuccessTestResult, SurvivedMutantRunResult, TestId, TestResult, TestResultSchema, TestRunner, TestRunnerCapabilities, TestRunnerCapabilitiesSchema, TestRunnerFailed, TestRunnerService, TestStatus, TimeoutDryRunResult, TimeoutMutantRunResult, WallClockTimeoutReason };
|
|
4091
4418
|
}
|
|
4092
4419
|
//#endregion
|
|
4093
4420
|
export { mod_d_exports$5 as a, mod_d_exports$2$1 as c, Ignorer$1 as d, Node_2$1 as f, mod_d_exports$4 as i, mod_d_exports$3$1 as l, mod_d_exports$2 as n, mod_d_exports$6 as o, mod_d_exports$3 as r, mod_d_exports$1 as s, mod_d_exports as t, Framework as u };
|