2
0
mirror of https://github.com/iconify/iconify.git synced 2024-11-17 10:05:09 +00:00
iconify/packages/svelte/tests/offline/10-empty.test.js

13 lines
311 B
JavaScript
Raw Normal View History

2021-04-30 09:51:31 +00:00
import { render } from '@testing-library/svelte';
2021-05-01 20:38:56 +00:00
import { Icon } from '../../dist/iconify';
2021-04-30 09:51:31 +00:00
describe('Empty icon', () => {
test('basic test', () => {
const component = render(Icon, {});
const html = component.container.innerHTML;
// Empty container div
expect(html).toEqual('<div></div>');
});
});