diff options
| author | twells46 <tom@wellsth.com> | 2026-01-25 11:14:07 -0600 |
|---|---|---|
| committer | twells46 <tom@wellsth.com> | 2026-01-25 11:14:07 -0600 |
| commit | 8e99f04d9cbc420176e6c28cbff30374dba7e03c (patch) | |
| tree | 3b01ea994472e376c0684abe8e7aef778df71e29 /src/App.test.tsx | |
Diffstat (limited to 'src/App.test.tsx')
| -rw-r--r-- | src/App.test.tsx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/App.test.tsx b/src/App.test.tsx new file mode 100644 index 0000000..2a68616 --- /dev/null +++ b/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(); +}); |