mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-10 17:16:55 +00:00
* refactor(scripts): migrate JavaScript tools to TypeScript * fix(ci): keep changed-scope preflight zero-install * fix(ci): preserve zero-install script owners * fix(ci): complete script migration follow-through * fix(release): keep stable closeout zero-install * fix(scripts): preserve standalone execution boundaries * fix(scripts): repair standalone loader boundaries * fix(scripts): normalize gateway observation ids * fix(scripts): keep Docker packager standalone * test(scripts): preserve rebase cleanup helpers * test(sessions): use tracked temp directory
20 lines
562 B
TypeScript
20 lines
562 B
TypeScript
#!/usr/bin/env node
|
|
|
|
// Runs the closed-loop voice-call test slice through the repo Vitest wrapper.
|
|
import { execFileSync } from "node:child_process";
|
|
import { bundledPluginFile } from "./lib/bundled-plugin-paths.mjs";
|
|
|
|
const args = [
|
|
"run",
|
|
"--config",
|
|
"vitest.config.ts",
|
|
bundledPluginFile("voice-call", "src/manager.test.ts"),
|
|
bundledPluginFile("voice-call", "src/media-stream.test.ts"),
|
|
"src/plugins/voice-call.plugin.test.ts",
|
|
"--maxWorkers=1",
|
|
];
|
|
|
|
execFileSync(process.execPath, ["scripts/run-vitest.mjs", ...args], {
|
|
stdio: "inherit",
|
|
});
|