@sleepy-hollow/framework 0.3.4 → 0.3.6
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 +20 -0
- package/dist/{chunk-RYKRRAPD.js → chunk-YBEJCNGD.js} +16 -2
- package/dist/chunk-YBEJCNGD.js.map +1 -0
- package/dist/cli.d.ts +4 -2
- package/dist/cli.js +338 -42
- package/dist/cli.js.map +1 -1
- package/dist/testing.d.ts +13 -3
- package/dist/testing.js +3 -1
- package/dist/{types-Bet36nZS.d.ts → types-t92f8Gqs.d.ts} +1 -1
- package/package.json +1 -1
- package/dist/chunk-RYKRRAPD.js.map +0 -1
package/dist/testing.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as TestingDiagnostic, P as ProblemExpectation, a as ProblemDetails, R as RequirementEvidence, B as BaselineCheck, b as RedTestResult, c as RedStateResult,
|
|
2
|
-
export { A as ApprovedCriterion, m as CriterionTrace, J as JsonRequestOptions, n as JsonTestResponse, o as TestApplication, p as TestApplicationFactory, q as TestApplicationFactoryContext, r as TestApplicationFixtures, s as TestApplicationSecurityOptions, t as TestManifestEntry, u as TestResultStatus } from './types-
|
|
1
|
+
import { T as TestingDiagnostic, C as CriterionTestDescriptor, P as ProblemExpectation, a as ProblemDetails, R as RequirementEvidence, B as BaselineCheck, b as RedTestResult, c as RedStateResult, d as CriterionTestRegistry, e as TestApplicationOptions, f as TestApplicationContext, g as TestManifest, h as TestExecutionResult, i as TraceabilityReport, j as CriterionTestSpec, k as RequirementDependency, l as TestSelection } from './types-t92f8Gqs.js';
|
|
2
|
+
export { A as ApprovedCriterion, m as CriterionTrace, J as JsonRequestOptions, n as JsonTestResponse, o as TestApplication, p as TestApplicationFactory, q as TestApplicationFactoryContext, r as TestApplicationFixtures, s as TestApplicationSecurityOptions, t as TestManifestEntry, u as TestResultStatus } from './types-t92f8Gqs.js';
|
|
3
3
|
import './types-BC7LJJ6G.js';
|
|
4
4
|
import './types-BUXw3UwN.js';
|
|
5
5
|
import 'drizzle-orm/better-sqlite3';
|
|
@@ -23,6 +23,16 @@ declare class TestingError extends Error {
|
|
|
23
23
|
constructor(diagnostics: readonly TestingDiagnostic[]);
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
+
/**
|
|
27
|
+
* Internal hook used by the CLI to inspect criterion registrations without
|
|
28
|
+
* executing the native test runner. Symbol.for keeps the hook shared when a
|
|
29
|
+
* project imports the published testing entry point.
|
|
30
|
+
*/
|
|
31
|
+
declare const CRITERION_TEST_DISCOVERY: unique symbol;
|
|
32
|
+
interface CriterionTestDiscovery {
|
|
33
|
+
readonly onRegistered: (descriptor: CriterionTestDescriptor) => void;
|
|
34
|
+
}
|
|
35
|
+
|
|
26
36
|
/**
|
|
27
37
|
* Builds a registry that registers tests against approved criteria.
|
|
28
38
|
*
|
|
@@ -154,4 +164,4 @@ declare function selectAffectedTests(options: {
|
|
|
154
164
|
readonly hasUnownedSharedChange?: boolean;
|
|
155
165
|
}): TestSelection;
|
|
156
166
|
|
|
157
|
-
export { BaselineCheck, CriterionTestDescriptor, CriterionTestRegistry, CriterionTestSpec, ProblemDetails, ProblemExpectation, RedStateResult, RedTestResult, RequirementDependency, RequirementEvidence, TestApplicationContext, TestApplicationOptions, TestExecutionResult, TestManifest, TestSelection, TestingDiagnostic, TestingError, TraceabilityReport, assertProblem, classifyRedState, createCriterionRegistry, createTestApplication, createTestManifest, createTraceabilityReport, criterionTest, selectAffectedTests };
|
|
167
|
+
export { BaselineCheck, CRITERION_TEST_DISCOVERY, CriterionTestDescriptor, type CriterionTestDiscovery, CriterionTestRegistry, CriterionTestSpec, ProblemDetails, ProblemExpectation, RedStateResult, RedTestResult, RequirementDependency, RequirementEvidence, TestApplicationContext, TestApplicationOptions, TestExecutionResult, TestManifest, TestSelection, TestingDiagnostic, TestingError, TraceabilityReport, assertProblem, classifyRedState, createCriterionRegistry, createTestApplication, createTestManifest, createTraceabilityReport, criterionTest, selectAffectedTests };
|
package/dist/testing.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import {
|
|
2
|
+
CRITERION_TEST_DISCOVERY,
|
|
2
3
|
TestingError,
|
|
3
4
|
assertProblem,
|
|
4
5
|
classifyRedState,
|
|
@@ -8,7 +9,7 @@ import {
|
|
|
8
9
|
createTraceabilityReport,
|
|
9
10
|
criterionTest,
|
|
10
11
|
selectAffectedTests
|
|
11
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-YBEJCNGD.js";
|
|
12
13
|
import "./chunk-BAKXP7IR.js";
|
|
13
14
|
import "./chunk-AADQFGT4.js";
|
|
14
15
|
import "./chunk-QY3TSXM6.js";
|
|
@@ -16,6 +17,7 @@ import "./chunk-LPPASMRR.js";
|
|
|
16
17
|
import "./chunk-EHBEUJIZ.js";
|
|
17
18
|
import "./chunk-5WRI5ZAA.js";
|
|
18
19
|
export {
|
|
20
|
+
CRITERION_TEST_DISCOVERY,
|
|
19
21
|
TestingError,
|
|
20
22
|
assertProblem,
|
|
21
23
|
classifyRedState,
|
|
@@ -387,4 +387,4 @@ interface TestSelection {
|
|
|
387
387
|
readonly diagnostics: readonly TestingDiagnostic[];
|
|
388
388
|
}
|
|
389
389
|
|
|
390
|
-
export type { ApprovedCriterion as A, BaselineCheck as B,
|
|
390
|
+
export type { ApprovedCriterion as A, BaselineCheck as B, CriterionTestDescriptor as C, JsonRequestOptions as J, ProblemExpectation as P, RequirementEvidence as R, TestingDiagnostic as T, ProblemDetails as a, RedTestResult as b, RedStateResult as c, CriterionTestRegistry as d, TestApplicationOptions as e, TestApplicationContext as f, TestManifest as g, TestExecutionResult as h, TraceabilityReport as i, CriterionTestSpec as j, RequirementDependency as k, TestSelection as l, CriterionTrace as m, JsonTestResponse as n, TestApplication as o, TestApplicationFactory as p, TestApplicationFactoryContext as q, TestApplicationFixtures as r, TestApplicationSecurityOptions as s, TestManifestEntry as t, TestResultStatus as u };
|