Generated API snapshot
@askrjs/server/testing
Exports from the declarations published in @askrjs/server. Signatures reflect the published artifact.
Exports
This entrypoint publishes 2 exports. Use the anchored symbol rows for direct links. Type-only exports are labeled separately from runtime values.
AdapterConformanceErrortype
AdapterConformanceError: typeof AdapterConformanceErrorA failed adapter-conformance guarantee with a stable machine-readable {@link code}.
code- readonly code: AdapterConformanceErrorCode;
name- readonly name = "AdapterConformanceError";
runAdapterConformancetype
runAdapterConformance: (exercises: AdapterConformanceExercises, options?: AdapterConformanceOptions) => Promise<Readonly<AdapterConformanceReport>>Runs reusable adapter guardrails against real-transport exercises supplied by the adapter. Validation errors throw synchronously; runtime failures reject with {@link AdapterConformanceError}. Exercise callbacks must honor the cleanup signal and close any sockets/servers they own.