LCOV - code coverage report
Current view: top level - packages/account-core/src/core/billing - wireCents.ts Coverage Total Hit
Test: ComfyUI E2E Coverage Lines: 100.0 % 1 1
Test Date: 2026-11-17 04:17:53

            Line data    Source code
       1              : import { z } from 'zod'
       2              : 
       3              : /**
       4              :  * The generated schemas coerce every int64 to a `bigint`, which no caller can
       5              :  * add to a price or hand to a currency formatter, while the generated *type*
       6              :  * for the same field is a `number`. Billing amounts and credit counts sit well
       7              :  * inside the JavaScript-safe range, so they are read as safe integers.
       8              :  */
       9         2356 : export const wireCents = z.number().int().safe()
        

Generated by: LCOV version 2.0-1