title: Check HTML element type for result of React Testing Library's getByText?
body: <p>I can find an element by its text and check that it's a link with:</p>
  <pre><code>const Link = Parent.getByText('This is a link', { exact: false });
  expect(Link).toHaveAttribute('href', 'www.somewhere.com');
  </code></pre>
  <p>How can I check this other element (which I find by text) is not a link?</p>
  <pre><code>const NotALink = Parent.getByText('Not a link', { exact: false });
  </code></pre>