@t09tanaka/test-gates 0.4.2 → 0.4.3

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/dist/index.d.cts CHANGED
@@ -247,11 +247,17 @@ interface MutationReport {
247
247
  files?: Record<string, ReportFile>;
248
248
  /** The spec files, with the ids of their tests (read by `mutation --affected`). */
249
249
  testFiles?: Record<string, {
250
- tests?: Array<{
251
- id: string;
252
- }>;
250
+ tests?: ReportTest[];
253
251
  }>;
254
252
  }
253
+ /** A test of a spec file in the report. Stryker numbers them anew on every run. */
254
+ interface ReportTest {
255
+ id: string;
256
+ name?: string;
257
+ location?: {
258
+ start: Position;
259
+ };
260
+ }
255
261
  /** A survivor that no allowance covers. `allowance` can be pasted into `equivalentMutants`. */
256
262
  interface UnallowedSurvivor {
257
263
  file: string;
package/dist/index.d.ts CHANGED
@@ -247,11 +247,17 @@ interface MutationReport {
247
247
  files?: Record<string, ReportFile>;
248
248
  /** The spec files, with the ids of their tests (read by `mutation --affected`). */
249
249
  testFiles?: Record<string, {
250
- tests?: Array<{
251
- id: string;
252
- }>;
250
+ tests?: ReportTest[];
253
251
  }>;
254
252
  }
253
+ /** A test of a spec file in the report. Stryker numbers them anew on every run. */
254
+ interface ReportTest {
255
+ id: string;
256
+ name?: string;
257
+ location?: {
258
+ start: Position;
259
+ };
260
+ }
255
261
  /** A survivor that no allowance covers. `allowance` can be pasted into `equivalentMutants`. */
256
262
  interface UnallowedSurvivor {
257
263
  file: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@t09tanaka/test-gates",
3
- "version": "0.4.2",
3
+ "version": "0.4.3",
4
4
  "description": "Test gates for the code that must not be wrong: per-file 100% coverage as the floor, mutation testing with a per-mutant allow list as the real check.",
5
5
  "author": "t09tanaka",
6
6
  "license": "MIT",