hirenimble-challenge / src / App.test.js
1import React from 'react'; 2import { render } from '@testing-library/react'; 3import App from './App'; 4 5test('renders learn react link', () => { 6 const { getByText } = render(<App />); 7 const instructions = getByText(/save to reload/i); 8 expect(instructions).toBeInTheDocument(); 9});