Packages narrative
packages / cart / core/contract-tests
cart / core/contract-tests
Functions
| Name | Description |
|---|---|
runCartAdapterContract | Vitest-bound contract suite that every |
Interfaces
| Name | Description |
|---|---|
RunCartAdapterContractOpts | Options accepted by |
tracing
Builtin middleware that wraps each mutation in an OTelshaped span. Span name is cart.mutation.<kind; attributes include the mutation kind and (when present) ide
RunCartAdapterContractOpts
Options accepted by . Passed once per adapter under test; the suite name and factory are the only inputs the contract runner needs from the host test file.