mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-06 05:51:15 +08:00
20 lines
562 B
JavaScript
20 lines
562 B
JavaScript
#!/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",
|
|
});
|