Skip to content

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

模块用法

用于编写确定性测试与契约断言。Memory server migration fixtures 模块公开 2 常量。

从包入口导入

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

使用要点

  • 2 个常量/枚举提供稳定值、Schema、Definition 或默认配置;应复用这些导出,避免在应用中复制内部值。

公共导出

Symbol种类签名说明
compliantMemoryServerSkeletonPorts常量const compliantMemoryServerSkeletonPorts: MemoryServerMigrationAcceptancePortsMinimal positive fixture proving that the acceptance runner is adapter-neutral.
legacyMemoryServerGapPorts常量const legacyMemoryServerGapPorts: MemoryServerMigrationAcceptancePortsReproduces the three audited legacy gaps without importing Server-owned code.

compliantMemoryServerSkeletonPorts

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

声明

text
export declare const compliantMemoryServerSkeletonPorts: MemoryServerMigrationAcceptancePorts;

legacyMemoryServerGapPorts

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

声明

text
export declare const legacyMemoryServerGapPorts: MemoryServerMigrationAcceptancePorts;