Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

render(); const linkElement = screen.getByText(/learn react/i); expect(linkElement).toBeInTheDocument();

  render(<App />);
  const linkElement = screen.getByText(/learn react/i);
  expect(linkElement).toBeInTheDocument();
 
PREVIOUS NEXT
Tagged: #const #linkElement
ADD COMMENT
Topic
Name
3+7 =