2
0
mirror of https://github.com/iconify/iconify.git synced 2025-01-24 23:58:37 +00:00

13 lines
336 B
TypeScript
Raw Normal View History

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