()
| 64 | // ============================================================================ |
| 65 | |
| 66 | const stringToBigInt = () => |
| 67 | z.codec(z.string(), z.bigint(), { |
| 68 | decode: (str) => BigInt(str), |
| 69 | encode: (bigint) => bigint.toString(), |
| 70 | }); |
| 71 | |
| 72 | test("stringToBigInt codec", () => { |
| 73 | const codec = stringToBigInt(); |
no test coverage detected