balena-supervisor/test/unit/lib
Felipe Lalanne 3e45e9561e Fix withDefault type helper to work with boolean
`withDefault` is a type helper that allows to create a type that
defaults to a default value when trying to decode a nullish value.
That type was not correctly working with boolean types, causing `false`
values to be replaced by true. This would specifically cause issues when
parsing the target state, where a `running: false` in a service would
become a `running: true` due to the type decoding.

Change-type: patch
2022-09-13 20:08:32 +00:00
..
backoff.spec.ts Create test/unit and test/integration folders 2022-08-24 14:28:36 -04:00
fs-utils.spec.ts Create test/unit and test/integration folders 2022-08-24 14:28:36 -04:00
json.spec.ts Create test/unit and test/integration folders 2022-08-24 14:28:36 -04:00
system-info.spec.ts Create test/unit and test/integration folders 2022-08-24 14:28:36 -04:00
validation.spec.ts Fix withDefault type helper to work with boolean 2022-09-13 20:08:32 +00:00