briebug / jest-schematic

Angular schematic for adding Jest and the required files to an Angular CLI project
MIT License
322 stars 38 forks source link

Running `ng add @briebug/jest-schematic` does not install jest-preset-angular #103

Open MaximeKoitsalu opened 2 years ago

MaximeKoitsalu commented 2 years ago

Describe the bug Create new angular project. Run ng add @briebug/jest-schematic. Try and run npm run test.

To Reproduce Steps to reproduce the behavior:

  1. Create new angular project.
  2. Run ng add @briebug/jest-schematic
  3. Try and run npm run test.
  4. See error

Expected behavior Should run tests

Screenshots image

Desktop (please complete the following information):

marcel-goldammer commented 2 years ago

Cannot confirm this behavior. jest-preset-angular is installed with the devDependency @angular-builders/jest.

slavlazar commented 2 years ago

Were you able to sort this out? Running into the exact same issue with same setup... only difference is I'm on Node version 16.13.0