Bound the wait in the default test, and pin the boolean a refusal prints
Mirror / push (push) Successful in 4s
Test / lint (pull_request) Successful in 21s
Test / test (18) (pull_request) Failing after 18s
Test / test (20) (pull_request) Successful in 22s
Test / test (22) (pull_request) Successful in 19s
Test / test (24) (pull_request) Successful in 19s
Test / test (26) (pull_request) Successful in 19s

This commit is contained in:
2026-09-20 20:46:45 +02:00
parent a24f350b7a
commit 45171c2697
3 changed files with 7 additions and 10 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ export function errorFrom(reason: unknown): Error {
const printable: readonly string[] = ['boolean', 'number', 'string'];
/** String() throws on a null-prototype object or a symbol, so those are named by type instead. */
/** String() throws on a null-prototype object, so anything but these is named by its type. */
export function namedValue(value: unknown): string {
return printable.includes(typeof value) ? String(value) : typeof value;
}