UnitConvexHarness

test-convex · /unit·type

In-memory Convex test harness produced by for the given schema. Mirrors the object returned by convex-test's convexTest, exposing query, mutation, action, run, and withIdentity against a transient backend with no network or subprocess.

Definition

@nordcom/commerce-test-convex
type UnitConvexHarness = TestConvex<SchemaDefinition<Schema, boolean>>;

TestConvex<SchemaDefinition<Schema, boolean>>

UnitModuleMap createUnitConvex unitModuleMap

Sourceunit.ts:40Edit the JSDoc directly
Metadata@nordcom/commerce-test-convex@0.0.0Open in GitHub ↗

On this page