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