diff options
| author | physcik <mynameisgennadiy@vk.com> | 2026-04-10 20:45:57 +0500 |
|---|---|---|
| committer | physcik <mynameisgennadiy@vk.com> | 2026-04-10 20:45:57 +0500 |
| commit | e243f101b3266ed98a1b668562a639408ffe36d7 (patch) | |
| tree | 9476be3e45f39c1a07655607002a41a914daf7e3 /front/src/App.test.tsx | |
| parent | fd5b5fedfec1921930257b1003245f3740536556 (diff) | |
router setup
Diffstat (limited to 'front/src/App.test.tsx')
| -rw-r--r-- | front/src/App.test.tsx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/front/src/App.test.tsx b/front/src/App.test.tsx new file mode 100644 index 0000000..2a68616 --- /dev/null +++ b/front/src/App.test.tsx @@ -0,0 +1,9 @@ +import React from 'react'; +import { render, screen } from '@testing-library/react'; +import App from './App'; + +test('renders learn react link', () => { + render(<App />); + const linkElement = screen.getByText(/learn react/i); + expect(linkElement).toBeInTheDocument(); +}); |
