diff options
Diffstat (limited to 'frontend/src/App.test.js')
-rw-r--r-- | frontend/src/App.test.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/frontend/src/App.test.js b/frontend/src/App.test.js new file mode 100644 index 0000000..4db7ebc --- /dev/null +++ b/frontend/src/App.test.js @@ -0,0 +1,9 @@ +import React from 'react'; +import { render } from '@testing-library/react'; +import App from './App'; + +test('renders learn react link', () => { + const { getByText } = render(<App />); + const linkElement = getByText(/learn react/i); + expect(linkElement).toBeInTheDocument(); +}); |