fix: prevent sqlite-vec duplicate id failures
This commit is contained in:
1 parent
f3ef609839
commit
20c26eb303
3 files changed
+12
-2
No files matched your search
@@ -1,3 +1,5 @@
|
||||
import os from "node:os";
|
||||
|
||||
import { beforeEach, describe, expect, it } from "vitest";
|
||||
|
||||
import type { PluginRuntime } from "clawdbot/plugin-sdk";
|
||||
@@ -8,7 +10,11 @@ import { setMatrixRuntime } from "./runtime.js";
|
||||
|
||||
describe("matrix directory", () => {
|
||||
beforeEach(() => {
|
||||
setMatrixRuntime({} as PluginRuntime);
|
||||
setMatrixRuntime({
|
||||
state: {
|
||||
resolveStateDir: () => os.tmpdir(),
|
||||
},
|
||||
} as PluginRuntime);
|
||||
});
|
||||
|
||||
it("lists peers and groups from config", async () => {
|
||||
|
||||
Reference in new issue
Block a user