nxext / nx-extensions

Nx Extension for StencilJs, SvelteJS, SolidJS, Ionic and VueJs
MIT License
451 stars 100 forks source link

Vue: Generated app lacks a `test` task for unit tests #1017

Closed sarahec closed 9 months ago

sarahec commented 10 months ago

Describe the bug

After creating an app using nx g @nxext/vue:app vue-shell:

Examining project.json shows no test task, but there is an e2e test. (Note: e2e test targets are optional in NX 16)

To Reproduce

  1. Generate an app: nx g @nxext/vue:app $name
  2. Try to test it: nx test $name
  3. Observe: No task found

Expected behavior

I expected to be able to unit test the app. I see that the generator has a UnitTest task in its source but not in the generated output.

DominikPieper commented 9 months ago

I'll close this because of the deprecation of the Vue plugin in favor of the official @nx/vue plugin