Skip to content

Commit

Permalink
fix test for real
Browse files Browse the repository at this point in the history
  • Loading branch information
ptpaterson committed Dec 6, 2024
1 parent 06f89a4 commit 5c087db
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions __tests__/unit/logger.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ describe("logging", () => {
${"LOG_LEVELS.ERROR"} | ${LOG_LEVELS.ERROR} | ${LOG_LEVELS.ERROR}
${"LOG_LEVELS.FATAL"} | ${LOG_LEVELS.FATAL} | ${LOG_LEVELS.FATAL}
${"LOG_LEVELS.OFF"} | ${LOG_LEVELS.OFF} | ${LOG_LEVELS.OFF}
${"empty"} | ${""} | ${6}
${"null"} | ${null} | ${6}
${"undefined"} | ${undefined} | ${6}
${"unkown number string"} | ${"42"} | ${6}
${"unknown string"} | ${"asdf"} | ${6}
${"number"} | ${42} | ${6}
${"empty"} | ${""} | ${"6"}
${"null"} | ${null} | ${"6"}
${"undefined"} | ${undefined} | ${"6"}
${"unkown number string"} | ${"42"} | ${"6"}
${"unknown string"} | ${"asdf"} | ${"6"}
${"number"} | ${42} | ${"6"}
`(
"correctly parses $testName to log level '$result'",
({ input, result }) => {
Expand Down

0 comments on commit 5c087db

Please sign in to comment.