2
0
mirror of https://github.com/iconify/iconify.git synced 2024-11-17 10:05:09 +00:00
iconify/components/svelte/tests/offline/10-empty.test.ts
2024-07-25 23:04:08 +03:00

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('');
});
});