The registered flag in outputStyleUtils.ts is a module-level singleton that makes the Handlebars helper registration non-idempotent across test runs — this could cause flaky behavior if tests ever run in parallel or helpers are registered with different values. Consider registering helpers once at module initialization rather than gating on a flag.
The registered flag in outputStyleUtils.ts is a module-level singleton that makes the Handlebars helper registration non-idempotent across test runs — this could cause flaky behavior if tests ever run in parallel or helpers are registered with different values. Consider registering helpers once at module initialization rather than gating on a flag.