mirror of
https://github.com/iconify/iconify.git
synced 2024-12-14 06:28:24 +00:00
13 lines
336 B
TypeScript
13 lines
336 B
TypeScript
import { describe, test, expect } from 'vitest';
|
|
import { render } from '@testing-library/svelte';
|
|
import Icon from '../../offline';
|
|
|
|
describe('Empty icon', () => {
|
|
test('basic test', () => {
|
|
const renderResult = render(Icon, {});
|
|
expect(
|
|
renderResult.container.innerHTML.replace(/<!--(.*?)-->/gm, '')
|
|
).toEqual('');
|
|
});
|
|
});
|