2
0
mirror of https://github.com/iconify/iconify.git synced 2024-09-29 13:39:08 +00:00
iconify/components/svelte/tests/offline/10-empty.test.ts

13 lines
336 B
TypeScript
Raw Normal View History

import { describe, test, expect } from 'vitest';
2021-04-30 09:51:31 +00:00
import { render } from '@testing-library/svelte';
import Icon from '../../offline';
2021-04-30 09:51:31 +00:00
describe('Empty icon', () => {
test('basic test', () => {
const renderResult = render(Icon, {});
expect(
renderResult.container.innerHTML.replace(/<!--(.*?)-->/gm, '')
).toEqual('');
2021-04-30 09:51:31 +00:00
});
});