Update tests
This commit is contained in:
@@ -99,13 +99,13 @@ it("adds action outputs", async () => {
|
|||||||
key: "conclusion",
|
key: "conclusion",
|
||||||
value: new data.Null(),
|
value: new data.Null(),
|
||||||
description:
|
description:
|
||||||
"The result of a completed step after `continue-on-error` is applied. Possible values are `success`, `failure`, `cancelled`, or `skipped`. When a `continue-on-error` step fails, the `outcome` is `failure`, but the final conclusion is `success`."
|
"The result of a completed step after [`continue-on-error`](https://docs.github.com/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepscontinue-on-error) is applied. Possible values are `success`, `failure`, `cancelled`, or `skipped`. When a `continue-on-error` step fails, the `outcome` is `failure`, but the final conclusion is `success`."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: "outcome",
|
key: "outcome",
|
||||||
value: new data.Null(),
|
value: new data.Null(),
|
||||||
description:
|
description:
|
||||||
"The result of a completed step before `continue-on-error` is applied. Possible values are `success`, `failure`, `cancelled`, or `skipped`. When a `continue-on-error` step fails, the `outcome` is `failure`, but the final conclusion is `success`."
|
"The result of a completed step before [`continue-on-error`](https://docs.github.com/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepscontinue-on-error) is applied. Possible values are `success`, `failure`, `cancelled`, or `skipped`. When a `continue-on-error` step fails, the `outcome` is `failure`, but the final conclusion is `success`."
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -100,7 +100,7 @@ describe("expressions", () => {
|
|||||||
label: "api_url",
|
label: "api_url",
|
||||||
documentation: {
|
documentation: {
|
||||||
kind: "markdown",
|
kind: "markdown",
|
||||||
value: "The URL of the GitHub Actions REST API."
|
value: "The URL of the GitHub REST API."
|
||||||
},
|
},
|
||||||
kind: CompletionItemKind.Variable
|
kind: CompletionItemKind.Variable
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -174,7 +174,7 @@ jobs:
|
|||||||
|
|
||||||
expect(result).toEqual<Hover>({
|
expect(result).toEqual<Hover>({
|
||||||
contents:
|
contents:
|
||||||
"Returns a single hash for the set of files that matches the `path` pattern. You can provide a single `path` pattern or multiple `path` patterns separated by commas. The `path` is relative to the `GITHUB_WORKSPACE` directory and can only include files inside of the `GITHUB_WORKSPACE`.",
|
"Returns a single hash for the set of files that matches the `path` pattern. You can provide a single `path` pattern or multiple `path` patterns separated by commas. The `path` is relative to the `GITHUB_WORKSPACE` directory and can only include files inside of the `GITHUB_WORKSPACE`. This function calculates an individual SHA-256 hash for each matched file, and then uses those hashes to calculate a final SHA-256 hash for the set of files. If the `path` pattern does not match any files, this returns an empty string. For more information about SHA-256, see \"[SHA-2](https://wikipedia.org/wiki/SHA-2).\"\n\nYou can use pattern matching characters to match file names. Pattern matching is case-insensitive on Windows. For more information about supported pattern matching characters, see \"[Workflow syntax for GitHub Actions](https://docs.github.com/actions/using-workflows/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet).\"",
|
||||||
range: {
|
range: {
|
||||||
start: {line: 5, character: 22},
|
start: {line: 5, character: 22},
|
||||||
end: {line: 5, character: 31}
|
end: {line: 5, character: 31}
|
||||||
|
|||||||
Reference in New Issue
Block a user