mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-02 09:51:33 +00:00
* refactor(config): reuse session parent fork types * refactor(channels): reuse setup adapter type * refactor(discord): share model preference primitives * refactor(whatsapp): share reaction eligibility * test(auto-reply): deduplicate dispatch scenarios * test(scripts): share scenario fixtures * test: share process and registry fixtures * test: satisfy dedup fixture lint * fix(plugin-sdk): keep setup adapter contract acyclic
16 lines
803 B
TypeScript
16 lines
803 B
TypeScript
// Built-CLI SQLite flip proof requires dist entrypoints before running the gateway lifecycle.
|
|
import { describe, expect, it } from "vitest";
|
|
import { assertSqliteFlipProofCore } from "../helpers/sqlite-sessions-transcripts-flip-proof-assertions.ts";
|
|
import { runSqliteSessionsTranscriptsFlipProof } from "../helpers/sqlite-sessions-transcripts-flip-proof.ts";
|
|
|
|
describe("SQLite sessions/transcripts flip built CLI proof", () => {
|
|
it("proves the lifecycle through the built gateway CLI entrypoint", async () => {
|
|
const report = await runSqliteSessionsTranscriptsFlipProof({ requireBuiltCli: true });
|
|
|
|
expect(report.gatewayEntrypoint).toEqual(
|
|
expect.arrayContaining([expect.stringMatching(/^dist\/index\.(?:js|mjs)$/u)]),
|
|
);
|
|
assertSqliteFlipProofCore(report);
|
|
}, 180_000);
|
|
});
|