10 lines
359 B
TypeScript
10 lines
359 B
TypeScript
import { render, screen } from '@testing-library/svelte';
|
|
import EmptyList from '$lib/components/EmptyList.svelte'
|
|
import { describe, expect, it } from 'vitest';
|
|
|
|
describe('Komponente: EmptyList', () => {
|
|
it('zeigt Hinweistext "Keine Einträge"', () => {
|
|
render(EmptyList);
|
|
expect(screen.getByText(/keine Einträge/i)).toBeInTheDocument(); });
|
|
});
|