nrwl / nx

Smart Monorepos · Fast CI
https://nx.dev
MIT License
23.27k stars 2.32k forks source link

Missing jasmine packages in new workspaces if using Protractor and Jest with Angular #1213

Closed esagawe closed 5 years ago

esagawe commented 5 years ago

Expected Behavior

e2e tests should work with new workspaces if using Protractor and Jest with Angular. So jasmine-spec-reporter, @types/jasmine and @types/jasminewd2 need to be installed by the CLI.

Steps to Reproduce

  1. npx create-nx-workspace myorg
  2. select SCSS
  3. skip naming a npm scope
  4. select empty workspace
  5. ng g app my-app
  6. select Angular
  7. skip naming a directory
  8. select Jest
  9. select Protractor
  10. skip naming tags
  11. ng e2e my-app-e2e will fail

Context

Other

After installing these packages on my own (npm i jasmine-spec-reporter @types/jasmine @types/jasminewd2 -D) everything works fine.

vsavkin commented 5 years ago

@FrozenPandaz we should include jasmine-spec-reporter as a dep of @nrwl/angular as part of the repackaging.

github-actions[bot] commented 1 year ago

This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.