@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
|
-
|
|
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
|
-
|
|
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
|