mirror of
https://github.com/moltbot/moltbot.git
synced 2026-04-23 22:55:24 +00:00
test: fix rebase gate regressions
This commit is contained in:
@@ -79,6 +79,7 @@ describe("memory vector dedupe", () => {
|
||||
} as OpenClawConfig;
|
||||
|
||||
manager = await createMemoryManagerOrThrow(cfg);
|
||||
await manager.probeEmbeddingAvailability();
|
||||
|
||||
const db = (
|
||||
manager as unknown as {
|
||||
@@ -100,6 +101,11 @@ describe("memory vector dedupe", () => {
|
||||
indexFile: (entry: unknown, options: { source: "memory" }) => Promise<void>;
|
||||
}
|
||||
).indexFile(entry, { source: "memory" });
|
||||
await (
|
||||
manager as unknown as {
|
||||
indexFile: (entry: unknown, options: { source: "memory" }) => Promise<void>;
|
||||
}
|
||||
).indexFile(entry, { source: "memory" });
|
||||
|
||||
db.exec(`
|
||||
CREATE TRIGGER IF NOT EXISTS fail_if_vector_row_not_deleted
|
||||
|
||||
@@ -93,7 +93,6 @@ describe("resolvePluginWebSearchProviders", () => {
|
||||
loadPluginManifestRegistryMock = vi
|
||||
.spyOn(manifestRegistryModule, "loadPluginManifestRegistry")
|
||||
.mockReturnValue({
|
||||
diagnostics: [],
|
||||
plugins: [
|
||||
{
|
||||
id: "brave",
|
||||
|
||||
Reference in New Issue
Block a user