mirror of
https://github.com/moltbot/moltbot.git
synced 2026-04-15 19:01:24 +00:00
19 lines
483 B
JavaScript
19 lines
483 B
JavaScript
#!/usr/bin/env node
|
|
|
|
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",
|
|
});
|