Files
Ethan Guo 06426ca029 test(tools-pack): cover mac/win paths, registry, manifest, NSIS, config validators (#2425)
* test(tools-pack): cover sanitizeNamespace, macAppBundleName, executable path

* test(tools-pack): cover stripRegistryQuotedValue branches

* test(tools-pack): cover readBuiltAppManifest and writePackagedConfig portable flag

* test(tools-pack): cover writeNsisInclude double-quote and newline escaping

* fix(tools-pack): add required requireVelaCli to ToolPackConfig fixtures

`ToolPackConfig` requires `requireVelaCli: boolean`, but the new
win-manifest / win-nsis test fixtures omitted it, so
`pnpm --filter @open-design/tools-pack typecheck` failed with
`'boolean | undefined' is not assignable to 'boolean'`.

Add `requireVelaCli: false` (the production default, per
`options.requireVelaCli === true` in config.ts) to both `makeConfig`
fixtures. Placed before the `...overrides` spread so TypeScript does not
re-widen it through the Partial (verified with tsc --strict).

Addresses review feedback on #2425.
2026-07-03 02:57:17 +00:00
..