title: How to test content of iFrame using jest
body: <p>I want to test content of the iFrame Tag using jest.</p>
  
  <p>For e.g I have a small html file that shows google homepage in iframe.</p>
  
  <p>I want to test that google homepage is coming in iFrame or not.</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
     &lt;body&gt;
     &lt;h2&gt;Google&lt;/h2&gt;
        &lt;iframe src="http://www.google.com" style="border:none;"&gt;&lt;/iframe&gt;
     &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>can someone suggest me that how can I test that iframe using jest ?</p>
  
  <p>Thanks in Advance.</p>