title: Getting `SyntaxError: Cannot use import statement outside a module` when running Jest
body: <p>I'm trying to run a test using Jest, and so I'm importing the following at the top of my test file:</p>
  <p><code>import { describe, it, expect } from '@jest/globals'</code></p>
  <p>However, when I run the test, I get the following error: <code>SyntaxError: Cannot use import statement outside a module</code></p>
  <p>How do I solve this?</p>