简体   繁体   中英

How to set up JetBrains IDE to run Stencil e2e tests?

We're developing a design system with Stencil. We are now writing e2e tests as described in Stencil docs .

There is shared VS Code config which allows to run the tests with Visual Studio Code, but we're using JetBrains IDEs (IntelliJ IDEA and WebStorm) and it is not obvious how to set up tests to run them with IDE interface.

Did anyone managed to set up them in JetBrains IDEs?

You can try using the Node.js run configuration with similar setup: specify the project root folder as a Working directory , path/to/node_modules/.bin/stencil as JavaScript file , add test --e2e $FilePath$ to Application parameters

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM