@azure-tools/typespec-powershell
Version:
An experimental TypeSpec emitter for PowerShell codegen
10 lines • 379 B
JavaScript
import { strictEqual } from "node:assert";
import { describe, it } from "vitest";
import { emit } from "./test-host.js";
describe("hello", () => {
it("emit output.txt with content hello world", async () => {
const results = await emit(`op test(): void;`);
strictEqual(results["output.txt"], "Hello world\n");
});
});
//# sourceMappingURL=hello.test.js.map