refactor tests

This commit is contained in:
Ruidy Nemausat 2020-05-13 19:23:03 +02:00
parent 57886a50e4
commit 4428aba38f

View file

@ -1,9 +0,0 @@
import React from 'react';
import {render} from '@testing-library/react';
import App from './App';
test('renders learn react link', () => {
const {getAllByText} = render(<App />);
const title = getAllByText('DevBook');
expect(title.length).toEqual(2);
});