Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
sarahec opened this issue Sep 4, 2023 · 1 comment
Closed

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

sarahec opened this issue Sep 4, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@sarahec
Copy link

sarahec commented Sep 4, 2023

Describe the bug

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

  • nx build vue-shell works
  • nx test vue-shell fails with NX Cannot find configuration for task vue-shell:test

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.

@sarahec sarahec added the bug Something isn't working label Sep 4, 2023
@DominikPieper
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants