mirror of
https://github.com/morluto/rea.git
synced 2026-12-02 00:58:46 +00:00
9 lines
480 B
TypeScript
9 lines
480 B
TypeScript
import type { ArtifactInspectionPort } from "../../../src/application/ArtifactInspectionExecution.js";
|
|
import type { ProviderIdentity } from "../../../src/ports/AnalysisProvider.js";
|
|
|
|
/** Both entry points use the same inspection callback for these stateless test providers. */
|
|
export const inspectionTestProvider = <Input, Report>(
|
|
identity: ProviderIdentity,
|
|
inspect: ArtifactInspectionPort<Input, Report>["inspect"],
|
|
) => ({ identity, inspect, inspectAndClose: inspect });
|