mirror of
https://github.com/iconify/iconify.git
synced 2024-11-10 15:20:54 +00:00
13 lines
311 B
JavaScript
13 lines
311 B
JavaScript
import { render } from '@testing-library/svelte';
|
|
import { Icon } from '../../dist/iconify';
|
|
|
|
describe('Empty icon', () => {
|
|
test('basic test', () => {
|
|
const component = render(Icon, {});
|
|
const html = component.container.innerHTML;
|
|
|
|
// Empty container div
|
|
expect(html).toEqual('<div></div>');
|
|
});
|
|
});
|