- {id: "IDVALSIZES4", label: "IDVALSIZES4"},
- {id: "IDVALSIZES3", label: "Large", description: "Large"},
- {id: "IDVALSIZES2", label: "Medium", description: "Medium"},
- {id: "IDVALSIZES1", label: "Small", description: "Small"},
- ])
+ {id: "IDVALSIZES4", label: "IDVALSIZES4", synonyms: []},
+ {id: "IDVALSIZES3", label: "Large", synonyms: []},
+ {id: "IDVALSIZES2", label: "Medium", synonyms: []},
+ {id: "IDVALSIZES1", label: "Small", synonyms: []},
+ ]);
+ // Let's try a key that doesn't have any labels
+ const preferredTagValues2 = Vocabulary.getPreferredTagValues('automation', vocabulary);
+ expect(preferredTagValues2).toEqual([
+ {id: "results", label: "results", synonyms: []},
+ {id: "upload", label: "upload", synonyms: []},
+ ]);