2
0
mirror of https://github.com/iconify/iconify.git synced 2024-09-20 17:29:01 +00:00
iconify/packages/svelte/tests/offline/10-empty.test.js
2021-05-01 23:38:56 +03:00

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>');
});
});