mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
11 lines
310 B
TypeScript
11 lines
310 B
TypeScript
import '@testing-library/jest-dom';
|
|
import { render } from '@testing-library/svelte';
|
|
import { ElementCount } from '../../../src/lib/components';
|
|
|
|
test('shows correct count', () => {
|
|
const { getByText } = render(ElementCount, {
|
|
count: 1
|
|
});
|
|
expect(getByText(/1/i)).toBeInTheDocument();
|
|
});
|