test: verify plugin warning messages

This commit is contained in:
Shakker
2026-05-11 16:40:05 +01:00
parent b0db82be15
commit 561c19cb58
3 changed files with 18 additions and 13 deletions

View File

@@ -142,7 +142,7 @@ describe("runMatrixStartupMaintenance", () => {
expectWarningOnlyMaintenanceSkipped(harness);
expect(harness.log.warn).toHaveBeenCalledWith(
expect.stringContaining("could not be resolved yet"),
`matrix: Legacy Matrix state detected at ${path.join(home, ".openclaw", "matrix")}, but the new account-scoped target could not be resolved yet (need homeserver, userId, and access token for channels.matrix). Start the gateway once with a working Matrix login, or rerun "openclaw doctor --fix" after cached credentials are available.`,
);
});
});