mirror of
https://github.com/iconify/iconify.git
synced 2024-12-13 06:07:50 +00:00
18 lines
375 B
TypeScript
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>');
|
|
});
|
|
});
|