test(ui-primitives): count the 94 merged public glyphs
This commit is contained in:
1 parent
6ddece2439
commit
5688962ee9
1 file changed
+2
-2
@@ -17,8 +17,8 @@ const icons = Object.fromEntries(
|
||||
const iconNames = Object.keys(icons)
|
||||
|
||||
describe('product icon set', () => {
|
||||
it('exports regular and medium variants for all 93 public glyphs', () => {
|
||||
expect(iconNames.length).toBe(186)
|
||||
it('exports regular and medium variants for all 94 public glyphs', () => {
|
||||
expect(iconNames.length).toBe(188)
|
||||
expect(iconNames.some(name => /\d+$/.test(name))).toBe(false)
|
||||
const regular = iconNames.filter(name => name.endsWith('Regular')).map(name => name.slice(0, -'Regular'.length))
|
||||
const medium = iconNames.filter(name => name.endsWith('Medium')).map(name => name.slice(0, -'Medium'.length))
|
||||
|
||||
Reference in new issue
Block a user