Files
languageservices/languageserver/src/index.test.ts
T
Christopher Schleiden b82ddcdb42 Update import paths
String replacement from `@github/actions-` to `@actions/`
2023-03-23 09:57:18 -07:00

12 lines
330 B
TypeScript

import {validate} from "@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();
});
});