Skip to content

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

773 B
Raw Blame
import { expect, it } from "vitest";

import en from "./en.json";

// Deleting or replacing a Local VM keeps its durable folder and website sign-ins (Firefox's profile moves there first), and
// deletes what lived only inside the desktop. Every confirm says both, plainly.
const CONFIRMS = ["vm.confirm.deleteShared", "vm.confirm.recreate", "vm.confirm.deleteBotVm", "computer.confirm.deleteVm", "computer.confirm.replaceVm"] as const;

it("says what survives deleting or replacing a Local VM and what does not", () => {
  for (const key of CONFIRMS) {
    expect(en[key], key).toContain("Its durable folder and website sign-ins are kept.");
    expect(en[key], key).toContain("Apps installed inside the desktop and files outside the durable folder are deleted.");
  }
});