Files
languageservices/actions-languageserver/src/index.test.ts
T

12 lines
341 B
TypeScript
Raw Normal View History

2022-11-08 17:00:59 -08:00
import { validate } from "@github/actions-languageservice";
import { TextDocument } from "vscode-languageserver-textdocument";
describe("simple test", () => {
it("should work", async () => {
const doc = TextDocument.create("uri", "workflow", 1, "on: push");
const r = await validate(doc);
expect(r).not.toBeNull();
});
});