You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tools.log.error(`An error occurred while creating the issue. This might be caused by a malformed issue title, or a typo in the labels or assignees. Check ${template}!`)
Copy file name to clipboardExpand all lines: tests/__snapshots__/index.test.js.snap
+29Lines changed: 29 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -86,3 +86,32 @@ Array [
86
86
],
87
87
]
88
88
`;
89
+
90
+
exports[`create-an-issue logs a helpful error if creating an issue throws an error 1`] =`
91
+
Array [
92
+
Array [
93
+
"An error occurred while creating the issue. This might be caused by a malformed issue title, or a typo in the labels or assignees. Check .github/ISSUE_TEMPLATE.md!",
94
+
],
95
+
Array [
96
+
[HttpError: Validation error],
97
+
],
98
+
]
99
+
`;
100
+
101
+
exports[`create-an-issue logs a helpful error if creating an issue throws an error with more errors 1`] =`
102
+
Array [
103
+
Array [
104
+
"An error occurred while creating the issue. This might be caused by a malformed issue title, or a typo in the labels or assignees. Check .github/ISSUE_TEMPLATE.md!",
0 commit comments