1
0
Fork 0
mirror of https://github.com/kou029w/_.git synced 2025-01-31 14:28:04 +00:00
_/oclif/tests/commands/hello/index.test.ts
2022-04-15 15:57:00 +09:00

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!");
});