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

13 lines
372 B
TypeScript

import { test, expect } from "vitest";
import run from "../../run";
import World from "../../../src/commands/hello/world";
test("hello world", async () => {
const res = await run(() => World.run());
expect(res).toContain("hello world!");
});
test("hello world", async () => {
const res = await run(() => World.run());
expect(res).toContain("hello world!");
});