Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

Train G2: give #5416's result-name test its own bot so Windows does not open query-names' database twice

milind-sonie0b4e3b614c0
diff --git a/server/data/engine.test.ts b/server/data/engine.test.ts
index 0736b6dbd0..bda1ac247b 100644
--- a/server/data/engine.test.ts
+++ b/server/data/engine.test.ts
@@ -301,8 +301,8 @@ describe("a bot's database", () => {
});
it("keeps an earlier query result when the sheet reopens before the next query", async () => {
- const database = await engine().forBot("query-names");
- const options = { botId: "query-names", dir: join(root, "bots", "query-names") };
+ const database = await engine().forBot("result-names");
+ const options = { botId: "result-names", dir: join(root, "bots", "result-names") };
const first = new DataSheetStore(options).nextResultName();
await database.materialise("SELECT 11 AS value", first, bot);
const second = new DataSheetStore(options).nextResultName();