(body: string)
| 45 | } |
| 46 | |
| 47 | const jsonBody = (body: string) => Option.getOrUndefined(decodeJson(body)) |
| 48 | |
| 49 | const valueDiffs = (expected: unknown, received: unknown, base = "$", limit = 8): ReadonlyArray<string> => { |
| 50 | if (Object.is(expected, received)) return [] |