UNPKG

@azure-tools/typespec-powershell

Version:

An experimental TypeSpec emitter for PowerShell codegen

11 lines (9 loc) 330 B
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"); }); });