This commit is contained in:
2021-05-16 12:31:41 +08:00
parent 52138c2f83
commit f6076e0e32
846 changed files with 89 additions and 16811 deletions
+9
View File
@@ -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();
});