mirror of
https://git.um-react.app/um/um-react.git
synced 2025-11-28 11:33:02 +00:00
test: working test with TypeScript + vite (using vitest)
This commit is contained in:
6
src/__tests__/sanity-check.test.tsx
Normal file
6
src/__tests__/sanity-check.test.tsx
Normal file
@@ -0,0 +1,6 @@
|
||||
import { render, screen } from '@testing-library/react';
|
||||
|
||||
test('hello', () => {
|
||||
render(<div>hello</div>);
|
||||
expect(screen.getByText('hello') as any).toBeInTheDocument();
|
||||
});
|
||||
Reference in New Issue
Block a user