2
0
mirror of https://github.com/iconify/iconify.git synced 2024-12-14 06:28:24 +00:00
iconify/packages/svelte/tests/offline/10-empty.test.js

13 lines
307 B
JavaScript
Raw Normal View History

2021-04-30 09:51:31 +00:00
import { render } from '@testing-library/svelte';
import Icon from '../../dist/offline';
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>');
});
});