diff --git a/__mocks__/platform-bible-react.tsx b/__mocks__/platform-bible-react.tsx index c4776c75..e4d70fbb 100644 --- a/__mocks__/platform-bible-react.tsx +++ b/__mocks__/platform-bible-react.tsx @@ -687,9 +687,10 @@ export function RadioGroupItem({ * Faithful in three ways the extension depends on. The trigger shows `customSelectedText` when the * caller supplies one and the bare `placeholder` otherwise — the real component never lists the * selection itself, so a caller that wants the selection named has to name it. An entry is resolved - * by its label, so two entries sharing a label collide, and one whose `value` is empty can never be - * selected at all. And `id` lands on the root; the stub additionally mirrors it to `data-testid`, - * since Testing Library has no by-id query and a test needs to scope to one of several controls. + * by its label as the command list reports it, which is trimmed, so two entries whose labels agree + * once trimmed collide, and one whose `value` is empty can never be selected at all. And `id` lands + * on the root; the stub additionally mirrors it to `data-testid`, since Testing Library has no + * by-id query and a test needs to scope to one of several controls. */ export function MultiSelectComboBox({ entries, @@ -732,11 +733,16 @@ export function MultiSelectComboBox({ {entries.map((entry) => (