2
0
mirror of https://github.com/iconify/iconify.git synced 2025-01-28 01:28:33 +00:00
iconify/packages/svelte/tests/offline/10-empty.test.js

13 lines
307 B
JavaScript
Raw Normal View History

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