@blotch/dolan 22.2.9 → 22.2.10

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.
@@ -101,7 +101,9 @@ describe('UiIcon', () => {
101
101
  const { host, svg } = await renderIcon();
102
102
  host.className.set('mr-2');
103
103
  await waitForUpdate();
104
- expect(svg().getAttribute('class')).toBe('mr-2');
104
+ // Next to the `_ngtag-` class the renderer gives a component's host, so
105
+ // type selectors naming the component match it.
106
+ expect(svg().getAttribute('class')?.split(' ')).toContain('mr-2');
105
107
  });
106
108
  });
107
109
 
@@ -78,7 +78,9 @@ describe('UiSpinner', () => {
78
78
  const { host, spinner } = await renderSpinner();
79
79
  host.className.set('ml-2');
80
80
  await waitForUpdate();
81
- expect(spinner().getAttribute('class')).toBe('ml-2');
81
+ // Next to the `_ngtag-` class the renderer gives a component's host, so
82
+ // type selectors naming the component match it.
83
+ expect(spinner().getAttribute('class')?.split(' ')).toContain('ml-2');
82
84
  });
83
85
 
84
86
  // A class on a component lands on its host too (issue #181): the host is
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blotch/dolan",
3
- "version": "22.2.9",
3
+ "version": "22.2.10",
4
4
  "description": "CLI for adding @blotch/ui components to your project",
5
5
  "homepage": "https://github.com/Blotch-Smart-Frames/AngularLynx#readme",
6
6
  "bugs": {