mirror of
https://github.com/iconify/iconify.git
synced 2024-11-17 10:05:09 +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('');
|
|
});
|
|
});
|