Initial Commit

This commit is contained in:
2026-05-27 23:47:53 +01:00
parent fbc70f96e6
commit 9b28db724f
18103 changed files with 1600554 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
import { describe, expect, it } from "@suaveplan/testing/runner";
describe("@suaveplan/event-sourcing dep-graph", () => {
it("imports without error", { timeout: 30000 }, async () => {
const mod = await import("../src/index.js");
expect(typeof mod.Aggregate).toBe("function");
expect(typeof mod.MemoryEventStore).toBe("function");
expect(typeof mod.createMemoryEventStore).toBe("function");
expect(typeof mod.createAggregateRepository).toBe("function");
expect(typeof mod.createProjection).toBe("function");
expect(typeof mod.registerUpcaster).toBe("function");
expect(typeof mod.upcastEvents).toBe("function");
expect(typeof mod.clearUpcasters).toBe("function");
expect(typeof mod.EventSourcingError).toBe("function");
expect(mod.ES_CODES).toBeDefined();
});
});