Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.
import * as NodeFS from "node:fs";
import { expect, it } from "vite-plus/test";
it("registers the local remote update route in the server route layer", () => {
const source = NodeFS.readFileSync(new URL("./server.ts", import.meta.url), "utf8");
expect(source).toContain(
'import { remoteMachineUpdateRouteLayer } from "./remote/updateRoute.ts";',
);
expect(source).toMatch(/websocketRpcRouteLayer,[\s\S]*remoteMachineUpdateRouteLayer,/u);
});