Files
openclaw/test/scripts/test-live-media.test.ts
2026-05-24 19:13:03 +02:00

15 lines
499 B
TypeScript

import { describe, expect, it } from "vitest";
import { parseArgs } from "../../scripts/test-live-media.ts";
describe("scripts/test-live-media", () => {
it("passes single-dash Vitest args after the option separator", () => {
expect(
parseArgs(["image", "--all-providers", "--project", "tooling", "--", "-t", "media-smoke"]),
).toMatchObject({
suites: ["image"],
requireAuth: false,
passthroughArgs: ["--project", "tooling", "-t", "media-smoke"],
});
});
});