wie man einen Scherz -Unit -Test in React durchführt

test('render h1 element', () => {
  render(<App />);

  screen.debug();

  expect(screen.getByText('Hello World')).toBeInTheDocument();
});
Energetic Eagle