Closed DmitryEfimenko closed 4 years ago
actually, it did work. Here's what seems to be happening:
cd libs/web-components && stencil test --spec
jest-cli
dependency in the root folder.jest-cli
in the root of the package fixes the issue.I hope this helps someone. I still fill the whole setup is quite cumbersome. Hopefully nx team will come up with better integration for stencil.
While working on my project I tried include a spec.ts file for my stencil component. and run default
stencil
command for testing. That didn't work and I came here hoping to see an example how you guys are doing it:stencil test --spec
. However, it seems that your stencil library does not have specs.