mirror of
https://github.com/kou029w/_.git
synced 2025-01-31 14:28:04 +00:00
8 lines
279 B
TypeScript
8 lines
279 B
TypeScript
import { test, expect } from "vitest";
|
|
import run from "../../run";
|
|
import Hello from "../../../src/commands/hello/index";
|
|
|
|
test("hello", async () => {
|
|
const res = await run(() => Hello.run(["friend", "--from=oclif"]));
|
|
expect(res).toContain("hello friend from oclif!");
|
|
});
|