Skip to content

@codesoul-co/hypha-memory / memory-server-migration-fixtures ​

Using this module ​

Use the Memory server migration fixtures module for writing deterministic tests and contract assertions. It exports 2 constants.

Import from the package entrypoint ​

ts
import {
  compliantMemoryServerSkeletonPorts,
  legacyMemoryServerGapPorts,
} from '@codesoul-co/hypha-memory';

Usage patterns ​

  • The 2 constant/enum exports provide stable values, schemas, definitions, or defaults. Reuse these exports instead of copying internal values into an application.

Public exports ​

SymbolKindSignatureDescription
compliantMemoryServerSkeletonPortsconstantconst compliantMemoryServerSkeletonPorts: MemoryServerMigrationAcceptancePortsMinimal positive fixture proving that the acceptance runner is adapter-neutral.
legacyMemoryServerGapPortsconstantconst legacyMemoryServerGapPorts: MemoryServerMigrationAcceptancePortsReproduces the three audited legacy gaps without importing Server-owned code.

compliantMemoryServerSkeletonPorts ​

Minimal positive fixture proving that the acceptance runner is adapter-neutral.

Declaration ​

text
export declare const compliantMemoryServerSkeletonPorts: MemoryServerMigrationAcceptancePorts;

legacyMemoryServerGapPorts ​

Reproduces the three audited legacy gaps without importing Server-owned code.

Declaration ​

text
export declare const legacyMemoryServerGapPorts: MemoryServerMigrationAcceptancePorts;