Initial commit of Descrybe v2 without local scratch artifacts.
Drop one-shot tmp/axe scripts and agent i18n scratch so the Gitea tree is deployable.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env node
|
||||
/** Run: node scripts/test-assistant.mjs */
|
||||
import { spawnSync } from "node:child_process";
|
||||
import path from "node:path";
|
||||
import { fileURLToPath } from "node:url";
|
||||
|
||||
const root = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "..");
|
||||
const testFile = path.join(root, "apps/web/src/lib/assistant/assistant.test.ts");
|
||||
|
||||
const result = spawnSync(
|
||||
process.execPath,
|
||||
["--experimental-strip-types", "--test", testFile],
|
||||
{ cwd: root, stdio: "inherit", env: process.env }
|
||||
);
|
||||
process.exit(result.status ?? 1);
|
||||
Reference in New Issue
Block a user