2
0
mirror of https://github.com/iconify/iconify.git synced 2024-12-12 21:57:50 +00:00
iconify/components/svelte/tests/offline/10-empty.test.ts
2022-05-12 22:39:56 +03:00

18 lines
375 B
TypeScript

/**
* @jest-environment jsdom
*/
import { render } from '@testing-library/svelte';
// Test importing from offline.mjs
import Icon from '../../dist/offline';
describe('Empty icon', () => {
test('basic test', () => {
const component = render(Icon, {});
const html = component.container.innerHTML;
// Empty container div
expect(html).toBe('<div></div>');
});
});