mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-12 21:53:00 -06:00
75dbe52e3e
* refactor(doctor): prefer manifest route-state owners * refactor(doctor): unify config repair declarations * refactor(doctor): unify legacy state migrations * fix(doctor): satisfy migration pipeline guards * fix(plugin-sdk): keep doctor adapter inside boundary
12 lines
449 B
TypeScript
12 lines
449 B
TypeScript
// Discord tests cover setup entry plugin behavior.
|
|
import { describe, expect, it } from "vitest";
|
|
import setupEntry from "./setup-entry.js";
|
|
|
|
describe("discord setup entry", () => {
|
|
it("keeps legacy state migrations on the doctor contract", () => {
|
|
expect(setupEntry.kind).toBe("bundled-channel-setup-entry");
|
|
expect(setupEntry.features).toBeUndefined();
|
|
expect(setupEntry.loadLegacyStateMigrationDetector).toBeUndefined();
|
|
});
|
|
});
|