title: Configure jest run configuration inside WebStorm for Vue + TypeScript
body: <p>I want to execute all my tests within WebStorm, but I cant get it working. I generated a project with Babel, TypeScript and Vue using vue-cli 3.0.0-rc3. My run configuration is as follows: </p>
  
  <p><a href="https://i.stack.imgur.com/7H0x3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7H0x3.png" alt="enter image description here"></a></p>
  
  <p>However I get the following error:</p>
  
  <pre><code>● Test suite failed to run
  
  /Users/calberca/Tmp/test-3/src/components/HelloWorld.vue:2
  import "core-js/modules/es6.promise";
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  
  SyntaxError: Unexpected string
  
    1 | import { shallowMount } from "@vue/test-utils";
  &gt; 2 | import HelloWorld from "../HelloWorld.vue";
      | ^
    3 | 
    4 | describe("HelloWorld.vue", () =&gt; {
    5 |   it("renders props.msg when passed", () =&gt; {
  
    at ScriptTransformer._transformAndBuildScript (node_modules/jest-runtime/build/script_transformer.js:403:17)
    at Object.&lt;anonymous&gt; (src/components/__tests__/HelloWorld.spec.ts:2:1)
  </code></pre>
  
  <p>When I run <code>yarn test:unit</code> from console the test passes. But when I run <code>jest --config=jest.config.js</code> the test fail.</p>
  
  <p>My initial thought is that it has to do with ts-jest not transforming the code with Babel, and vue-cli somehow toggles an option to do that and I want to use the same command, but I have no idea about what I should do to make it work.</p>
  
  <p><em>Note: I did this with a bigger project and like 80% of tests pass, but there are still tests that don't pass with similar errors regarding ES6 and beyond features.</em></p>
  
  <h1>Edit</h1>
  
  <p>It somehow got solved with a new update from Webstorm (2018.3) and I had to do nothing :)</p>