runNotifyAdapterConformance
runNotifyAdapterConformance(
factory,options?):Promise<ConformanceReport>
Defined in: packages/core/src/conformance/notify-adapter.ts:29
Run the notify adapter conformance suite against a user-supplied adapter.
Test-framework agnostic: designed to be embedded in a single test
(vitest test(), bun test(), node:test, etc.). Throws
ConformanceError with an aggregated report on any failure.
Parameters
Section titled “Parameters”factory
Section titled “factory”() => Promise<NotifyConformanceFixture>
options?
Section titled “options?”Returns
Section titled “Returns”Promise<ConformanceReport>
Example
Section titled “Example”await runNotifyAdapterConformance(async () => { const notifyAdapter = await createMyNotifyAdapter(); return { notifyAdapter, dispose: async () => notifyAdapter.close(), };});