balena-supervisor/test/unit
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
..
lib Fix withDefault type helper to work with boolean 2022-09-13 20:08:32 +00:00
.mocharc.js Create test/unit and test/integration folders 2022-08-24 14:28:36 -04:00
types.spec.ts Fix withDefault type helper to work with boolean 2022-09-13 20:08:32 +00:00