text: import React from 'react';
  import renderer from 'react-test-renderer';
  import { Provider } from 'react-redux';
  import { BrowserRouter } from 'react-router-dom';
  import { createStore, combineReducers, applyMiddleware } from 'redux';
  import logger from 'redux-logger';
  import thunk from 'redux-thunk';
  import dataReducer from '../../redux/covid-19/covidUpdate';
  import App from '../../App';
  
  const reducer = combineReducers({
    covid: dataReducer,
  });
  
  const store = createStore(reducer, applyMiddleware(logger, thunk));
  
  describe('App', () => {
    it('renders correctly', () => {
      const tree = renderer
        .create(
          <Provider store={store}>
            <BrowserRouter>
              <App />
            </BrowserRouter>
          </Provider>,
        )
        .toJSON();
      expect(tree).toMatchSnapshot();
    });
  });
  