title: How to test a Polyfills in JEST using react-testing-library?
body: <pre><code>describe(&quot;Test for polyfills&quot;, () =&gt; {
      it(&quot;check for padStart&quot;, () =&gt; {
          expect(&quot;abc&quot;.padStart(8, &quot;0&quot;)).toEqual(&quot;00000abc&quot;);
      });
  });
  </code></pre>
  <p>how to test this by disabling padStart</p>