mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-29 10:03:32 +00:00
Merged via squash.
Prepared head SHA: 7975bc06ac
Co-authored-by: jalehman <550978+jalehman@users.noreply.github.com>
Co-authored-by: jalehman <550978+jalehman@users.noreply.github.com>
Reviewed-by: @jalehman
20 lines
653 B
TypeScript
20 lines
653 B
TypeScript
import { describe, expect, it } from "vitest";
|
|
import {
|
|
listSessionEntries as listAccessorSessionEntries,
|
|
loadSessionEntry,
|
|
readSessionUpdatedAt as readAccessorSessionUpdatedAt,
|
|
} from "../config/sessions/session-accessor.js";
|
|
import {
|
|
getSessionEntry,
|
|
listSessionEntries,
|
|
readSessionUpdatedAt,
|
|
} from "./session-store-runtime.js";
|
|
|
|
describe("session-store-runtime", () => {
|
|
it("routes read helpers through the session accessor seam", () => {
|
|
expect(getSessionEntry).toBe(loadSessionEntry);
|
|
expect(listSessionEntries).toBe(listAccessorSessionEntries);
|
|
expect(readSessionUpdatedAt).toBe(readAccessorSessionUpdatedAt);
|
|
});
|
|
});
|