@bongos/core 1.19.904 → 1.19.906

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -221,7 +221,12 @@ test('the directory row shows the avatar, the name and the login the API returns
221
221
  assert.match(src, /class="lb-name dir-name" href="https:\/\/github\.com\/' \+ encodeURIComponent\(b\.github_login\)/,
222
222
  'the shell\'s .lb-name, to the one page every listed builder has');
223
223
  assert.match(src, /'<span class="dir-login">@' \+ esc\(b\.github_login\)/, 'the login under the name says where the door goes');
224
- assert.match(src, /<span class="fact-chip">' \+ esc\(String\(d\)\)/, 'crafts are chips');
224
+ // The chip is the assertion; what goes IN it is the role vocabulary, not the column
225
+ // (task 1004040). This line used to pin `esc(String(d))` — the raw value — so it read as
226
+ // a guard on the chip while actually holding the Directory to rendering 'unclassified'
227
+ // and a lowercase 'ui'. Pinning the wrapper and the helper keeps the original intent
228
+ // without pinning the defect that happened to be inside it.
229
+ assert.match(src, /<span class="fact-chip">' \+ esc\(roleLabel\(d\)\)/, 'roles are chips, spoken not printed');
225
230
  assert.doesNotMatch(src, /class="num"/, 'the shell\'s ledger__num, not the bare .num scouting.js had corrected');
226
231
  assert.match(src, /class="ledger__num"/);
227
232
  });