Merge branch 'main' into thyeggman/overwrite-propert-tests

This commit is contained in:
Jacob Wallraff
2023-01-09 14:32:11 -08:00
66 changed files with 8496 additions and 55 deletions
+2 -4
View File
@@ -1,4 +1,3 @@
import {TextDocument} from "vscode-languageserver-textdocument";
import {hover} from "./hover";
import {getPositionFromCursor} from "./test-utils/cursor-position";
@@ -25,7 +24,6 @@ jobs:
expect(result?.contents).toEqual("Runs your workflow when you push a commit or tag.");
});
it("on a parameter with a description", async () => {
const input = `on: push
jobs:
@@ -35,7 +33,7 @@ jobs:
expect(result).not.toBeUndefined();
expect(result?.contents).toEqual(
"Prevents a workflow run from failing when a job fails. Set to true to allow a workflow run to pass when this job fails.\n\n" +
"**Context:** github, inputs, vars, needs, strategy, matrix"
"**Context:** github, inputs, vars, needs, strategy, matrix"
);
});
@@ -71,7 +69,7 @@ jobs:
});
it("on a value in a sequence", async () => {
const input = `on: [pull_request,
const input = `on: [pull_request,
pu|sh]
jobs:
build: