mirror of
https://github.com/rjNemo/devbook_ts
synced 2026-06-12 13:36:43 +00:00
refactor tests
This commit is contained in:
parent
57886a50e4
commit
4428aba38f
1 changed files with 0 additions and 9 deletions
|
|
@ -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);
|
|
||||||
});
|
|
||||||
Loading…
Reference in a new issue