選択できるのは25トピックまでです。
トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
10 行
280 B
10 行
280 B
4年前
|
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();
|
||
|
});
|