()
| 93 | // ============================================================================ |
| 94 | |
| 95 | const numberToBigInt = () => |
| 96 | z.codec(z.int(), z.bigint(), { |
| 97 | decode: (num) => BigInt(num), |
| 98 | encode: (bigint) => Number(bigint), |
| 99 | }); |
| 100 | |
| 101 | test("numberToBigInt codec", () => { |
| 102 | const codec = numberToBigInt(); |
no test coverage detected