This commit is contained in:
Amiel Martin
2021-09-15 09:58:18 -08:00
parent 2ced1f3255
commit d9ed3e87f6

View File

@@ -105,7 +105,7 @@ describe("run", () => {
});
it("adds labels based on the branch names that match the glob pattern", async () => {
github.context.payload.pull_request!.head = {ref: "test/testing-time"};
github.context.payload.pull_request!.head = { ref: "test/testing-time" };
usingLabelerConfigYaml("branches.yml");
await run();
@@ -119,7 +119,9 @@ describe("run", () => {
});
it("adds labels based on branch names that match different glob patterns", async () => {
github.context.payload.pull_request!.head = {ref: "my/feature/that-i-like"};
github.context.payload.pull_request!.head = {
ref: "my/feature/that-i-like",
};
usingLabelerConfigYaml("branches.yml");
await run();