Skip to content

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

Merge pull request #6380 from Afloat16/fix/cli-export-card-fallbacks-20261117

milind-soni87e8c9f6b436
diff --cc server/headless/export.test.ts
index c68bd4190d,eecbfe27a7..edd39fac56
--- a/server/headless/export.test.ts
+++ b/server/headless/export.test.ts
@@@ -4,9 -4,12 +4,12 @@@ import { existsSync, mkdirSync, mkdtemp
import { createServer, type IncomingMessage, type Server, type ServerResponse } from "node:http";
import type { AddressInfo } from "node:net";
import { tmpdir } from "node:os";
-import { join } from "node:path";
+import { basename, dirname, join } from "node:path";
import { afterAll, beforeAll, describe, expect, it } from "vitest";
+ import { htmlFallbackText } from "../../shared/app.ts";
+ import { parseWidgetInput, widgetToText } from "../../shared/widget.ts";
+ import { WIDGET_SAMPLES } from "../../shared/widget-samples.ts";
import { removeTempDir } from "../testing/cleanup.ts";
import type { HeadlessIo } from "./output.ts";
import { safeName } from "./export.ts";