mirror of
https://git.um-react.app/um/um-react.git
synced 2026-12-04 09:54:00 +00:00
test: working test with TypeScript + vite (using vitest)
This commit is contained in:
1 parent
863a4e4f89
commit
0db84813ad
19 files changed
+687
-75
No files matched your search
@@ -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