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