Make the round-trip case actually round-trip

The flip from an authored recipe back to the defaults was written with the
retired pillar as the thing left out. With that pillar gone, both halves of the
case sent the same full list, so the first read false where it expected true and
the flip was never exercised at all.

It now takes out a pillar that still exists, and says at the assertion why the
two halves have to differ.
This commit is contained in:
Marc-André Bombeck committed 2026-08-01 17:56:20 +02:00
1 parent 96c10f07e6
commit ad1554a36f
1 file changed
+3 -1
@@ -361,6 +361,9 @@ describe("the resolved configured flag, on every wire that carries it", () => {
expectEveryWire(await readWires(), false);
// Narrowed: one pillar taken out. If both halves of this case send the
// same list, the round trip proves nothing — it would read false at both
// ends and the flip would never be exercised.
await saveSelection([
"BLOOD_PRESSURE",
"GLYCAEMIA",
@@ -368,7 +371,6 @@ describe("the resolved configured flag, on every wire that carries it", () => {
"SLEEP",
"ADIPOSITY",
"WELLBEING",
"LIPIDS",
]);
expectEveryWire(await readWires(), true);