balena-supervisor/test/legacy
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
..
src Remove side effects for module imports 2022-09-06 15:48:18 -04:00
.mocharc.js Create test/unit and test/integration folders 2022-08-24 14:28:36 -04:00
01-constants.spec.ts Move the current test suite under test/legacy 2022-08-22 17:21:51 -04:00
02-db.spec.ts Remove side effects for module imports 2022-09-06 15:48:18 -04:00
03-config.spec.ts Remove side effects for module imports 2022-09-06 15:48:18 -04:00
05-device-state.spec.ts Remove side effects for module imports 2022-09-06 15:48:18 -04:00
07-blink.spec.ts Move the current test suite under test/legacy 2022-08-22 17:21:51 -04:00
08-event-tracker.spec.ts Remove side effects for module imports 2022-09-06 15:48:18 -04:00
09-network.spec.ts Move the current test suite under test/legacy 2022-08-22 17:21:51 -04:00
10-api-binder.spec.ts Remove side effects for module imports 2022-09-06 15:48:18 -04:00
11-logger.spec.ts Remove side effects for module imports 2022-09-06 15:48:18 -04:00
12-device-config.spec.ts Move the current test suite under test/legacy 2022-08-22 17:21:51 -04:00
14-conversions.spec.ts Move the current test suite under test/legacy 2022-08-22 17:21:51 -04:00
15-ports.spec.ts Move the current test suite under test/legacy 2022-08-22 17:21:51 -04:00
16-config-utils.spec.ts Move the current test suite under test/legacy 2022-08-22 17:21:51 -04:00
18-startup.spec.ts Remove side effects for module imports 2022-09-06 15:48:18 -04:00
19-compose-utils.spec.ts Move the current test suite under test/legacy 2022-08-22 17:21:51 -04:00
21-supervisor-api.spec.ts Remove side effects for module imports 2022-09-06 15:48:18 -04:00
22-local-mode.spec.ts Remove side effects for module imports 2022-09-06 15:48:18 -04:00
23-contracts.spec.ts Move the current test suite under test/legacy 2022-08-22 17:21:51 -04:00
24-deltas.spec.ts Move the current test suite under test/legacy 2022-08-22 17:21:51 -04:00
25-journald.spec.ts Move the current test suite under test/legacy 2022-08-22 17:21:51 -04:00
27-extlinux-config.spec.ts Move the current test suite under test/legacy 2022-08-22 17:21:51 -04:00
28-db-format.spec.ts Remove side effects for module imports 2022-09-06 15:48:18 -04:00
29-append-directive.spec.ts Move the current test suite under test/legacy 2022-08-22 17:21:51 -04:00
30-fdt-directive.spec.ts Move the current test suite under test/legacy 2022-08-22 17:21:51 -04:00
31-docker-utils.spec.ts Move the current test suite under test/legacy 2022-08-22 17:21:51 -04:00
33-extra-uenv-config.spec.ts Add custom DTB support for imx8mm-var-som 2022-09-06 16:33:35 +02:00
34-firewall.spec.ts Remove side effects for module imports 2022-09-06 15:48:18 -04:00
35-os-release.spec.ts Move the current test suite under test/legacy 2022-08-22 17:21:51 -04:00
37-odmdata-config.spec.ts Move the current test suite under test/legacy 2022-08-22 17:21:51 -04:00
39-compose-commit.spec.ts Remove side effects for module imports 2022-09-06 15:48:18 -04:00
40-target-state.spec.ts Move the current test suite under test/legacy 2022-08-22 17:21:51 -04:00
41-device-api-v1.spec.ts Remove side effects for module imports 2022-09-06 15:48:18 -04:00
42-device-api-v2.spec.ts Remove side effects for module imports 2022-09-06 15:48:18 -04:00
43-splash-image.spec.ts Move the current test suite under test/legacy 2022-08-22 17:21:51 -04:00
fixtures.ts Create test/unit and test/integration folders 2022-08-24 14:28:36 -04:00