diff --git a/frontend-react/src/App.test.js b/frontend-react/src/App.test.js new file mode 100644 index 0000000000000000000000000000000000000000..657a2f55895308bafed18017eace442d3837a6a8 --- /dev/null +++ b/frontend-react/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(); +});