NativeScript / nx

NativeScript for Nx.
Other
61 stars 15 forks source link

[question] How to do jest unit testing? #67

Open ziacik opened 1 year ago

ziacik commented 1 year ago

Default template doesn't add any test target. I'd like to use TDD to develop my app. How can I enable jest unit testing?

I tried to use the configuration mentioned here https://github.com/NativeScript/nx/issues/8 But that just runs the app on the device.

I'd like it to be true unit tests, not e2e tests (i.e. it shouldn't be run on the device).