Improve test names

This commit is contained in:
Beth Brennan
2022-12-02 15:23:15 -05:00
parent 231757d3ff
commit 2a106063b7
+3 -3
View File
@@ -3,7 +3,7 @@ import {hover} from "./hover";
import {getPositionFromCursor} from "./test-utils/cursor-position";
describe("hover", () => {
it("valid workflow", async () => {
it("on a key", async () => {
const input = `o|n: push
jobs:
build:
@@ -15,7 +15,7 @@ jobs:
);
});
it("hover on value", async () => {
it("on a value", async () => {
const input = `on: pu|sh
jobs:
build:
@@ -25,7 +25,7 @@ jobs:
expect(result?.contents).toEqual("Runs your workflow when you push a commit or tag.");
});
it("hover on sequence value", async () => {
it("on a value in a sequence", async () => {
const input = `on: [pull_request,
pu|sh]
jobs: