Skip to content

Commit 047bdd2

Browse files
committed
[automated] Fix code linting
1 parent 451d088 commit 047bdd2

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

.github/workflows/lib/approval.test.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,9 @@ describe("ApprovalManager", () => {
116116
labels: [
117117
{ name: "bug" },
118118
{ name: "proposed" }, // This should be replaced
119-
{ name: "enhancement" }
120-
]
121-
}
119+
{ name: "enhancement" },
120+
],
121+
},
122122
});
123123
});
124124

@@ -197,9 +197,9 @@ describe("ApprovalManager", () => {
197197
labels: [
198198
{ name: "documentation" },
199199
{ name: "accepted" }, // This should be replaced with turned-down
200-
{ name: "priority-high" }
201-
]
202-
}
200+
{ name: "priority-high" },
201+
],
202+
},
203203
});
204204

205205
await approvalManager.updateIssueStatus("❌ Rejected");

.github/workflows/lib/workflow-integration.test.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ describe("Workflow Integration Tests", () => {
4242
// Mock issues.get to return an issue with no existing labels
4343
mockGithub.rest.issues.get.mockResolvedValue({
4444
data: {
45-
labels: []
46-
}
45+
labels: [],
46+
},
4747
});
4848

4949
approvalManager = await new ApprovalManager(mockGithub, mockOrg, mockRepo, mockIssueNumber).initialize();
@@ -195,8 +195,8 @@ describe("Workflow Integration Tests", () => {
195195
// Mock issues.get to return an issue with no existing labels
196196
mockGithub.rest.issues.get.mockResolvedValue({
197197
data: {
198-
labels: []
199-
}
198+
labels: [],
199+
},
200200
});
201201

202202
approvalManager = await new ApprovalManager(mockGithub, mockOrg, mockRepo, mockIssueNumber).initialize();
@@ -346,8 +346,8 @@ describe("Workflow Integration Tests", () => {
346346
// Mock issues.get to return an issue with no existing labels
347347
mockGithub.rest.issues.get.mockResolvedValue({
348348
data: {
349-
labels: []
350-
}
349+
labels: [],
350+
},
351351
});
352352

353353
approvalManager = await new ApprovalManager(mockGithub, "org", "repo", 123).initialize();

0 commit comments

Comments
 (0)