Non puoi selezionare più di 25 argomenti
Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
9 righe
280 B
9 righe
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();
|
|
});
|
|
|