I can't figure out how to properly setup my WebStorm environment with a brand new created Vue project using the Vue CLI 3...
Repro step:
npm install -g @vue/cli
(my version is latest 3.3.0)- New project in WebStorm
- Select Vue.js
- Specify the Vue/cli directory (For me it was /usr/local/lib/node_modules/@vue/cli)
- Select Manually select features
- Select all except PWA (Babel, Typescript, Router, Vuex, CSS Pre-processors, Linter/Formatter Unit/E2E Testing)
- Default configs until for testing
- Select Mocha + Chai for unit tests
- Select Nightwatch for E2E tests
- Config files in dedicated files
Once the project is created, if I right click on the generated unit test file it tries to run it using Jest...
I tried to manually create a a config using Mocha, but can't figure it out... I tried adding Compile TypeScript as a before launch step, tried adding --require ts-node/register
after doing npm i -D ts-node
but without success...