Latest repo

This commit is contained in:
Marc
2025-06-02 16:42:16 +00:00
parent 53ddf1a329
commit cde5fae175
27907 changed files with 3875388 additions and 1 deletions

View File

@@ -0,0 +1,18 @@
import { customRender } from 'test/render';
import { IconRight } from './IconRight';
let root: HTMLElement;
beforeEach(() => {
const view = customRender(
<IconRight className="foo" style={{ color: 'red' }} />
);
root = view.container.firstChild as HTMLElement;
});
test('should add the class name', () => {
expect(root).toHaveClass('foo');
});
test('should apply the style', () => {
expect(root).toHaveStyle({ color: 'red' });
});