From b7ccc0570241371c62700f925e4186a773aaf6aa Mon Sep 17 00:00:00 2001 From: Erica Marigold Date: Wed, 4 Dec 2024 06:05:54 +0000 Subject: [PATCH] chore(lune): remove unneeded status from frktest reporter --- .lune/tests/reporter.luau | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.lune/tests/reporter.luau b/.lune/tests/reporter.luau index 726874f..a209997 100644 --- a/.lune/tests/reporter.luau +++ b/.lune/tests/reporter.luau @@ -10,10 +10,8 @@ local STYLE = table.freeze({ return `{stdio.style("bold")}{stdio.color("purple")}SUITE{stdio.style("reset")} {name}` end, - report = function(name: string, state: "run" | "success" | "error" | "skip", elapsed: number) - local state_color: stdio.Color = if state == "run" - then "white" - elseif state == "success" then "green" + report = function(name: string, state: "success" | "error" | "skip", elapsed: number) + local state_color: stdio.Color = if state == "success" then "green" elseif state == "error" then "red" elseif state == "skip" then "yellow" else error("Invalid test state")