title: Image is missing required "src" property (JEST)
body: <p>I'm getting this error</p>
  <blockquote>
  <p>Image is missing required &quot;src&quot; property. Make sure you pass &quot;src&quot; in props to the <code>next/image</code> component.</p>
  </blockquote>
  <p>I already tried to call the src import on file, put the import directly on src instead of importing, absolute imports and many other things. I have no idea what's causing this and my only hope are that its a config missing.</p>
  <pre class="lang-js prettyprint-override"><code>import WhiteLabel from '@components/About/WhiteLabel';
  import {render} from '@testing-library/react';
  import '@testing-libraty/jest-dom';
  import {whiteLabelList} from '@utils'
  
  describe(&quot;whiteLabel component&quot;,() =&gt; {
    it('should return if the list topics is in the document',()=&gt;{
      const { getByText } = render(&lt;WhiteLabel /&gt;);
  
      whiteLabelList.forEach(object =&gt; {
        expect(getByText(object.text)).toBeInTheDocument();
      });
    });
  })
  
  </code></pre>
  <p><strong>WhiteLabel Component</strong></p>
  <pre class="lang-js prettyprint-override"><code>import imageSrc from &quot;../../public/images/imageSrc.svg&quot;;
  
          &lt;Image
            width={700}
            height={560}
            src={imageSrc}
            alt=&quot;White Label&quot;
            draggable={false}
          /&gt;
  </code></pre>
  <p><a href="https://i.stack.imgur.com/boGuF.png" rel="nofollow noreferrer">The erro occurs in the render method, so nothing under it gets executed</a></p>