fix linter issue

This commit is contained in:
Shaikhul Islam 2023-05-09 14:55:18 +00:00
parent edb138ff88
commit 699855c048
3 changed files with 3 additions and 7 deletions

View file

@ -249,9 +249,7 @@ test("formatWorkflowCause() with no errors", (t) => {
});
test("formatWorkflowCause()", (t) => {
const message = formatWorkflowCause([
WorkflowErrors.CheckoutWrongHead,
]);
const message = formatWorkflowCause([WorkflowErrors.CheckoutWrongHead]);
t.deepEqual(message, "CheckoutWrongHead");
t.deepEqual(formatWorkflowCause([]), undefined);