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

Running ng add @briebug/jest-schematic on an Angular 15 project throws error #127

Closed
Waterstraal opened this issue Nov 18, 2022 · 3 comments · Fixed by #128
Closed

Running ng add @briebug/jest-schematic on an Angular 15 project throws error #127

Waterstraal opened this issue Nov 18, 2022 · 3 comments · Fixed by #128

Comments

@Waterstraal
Copy link

Describe the bug
A clear and concise description of what the bug is.

To Reproduce

  1. npx @angular/cli@15 new angular-with-jest-test
  2. cd .\angular-with-jest-test\
  3. ng add @briebug/jest-schematic
  4. The following error is thrown: Cannot read properties of undefined (reading 'filter')

Expected behavior
Jest is configured for an Angular 15 project

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows 10
  • Node version: 18.12.1
  • App type: Angular cli
  • Angular version: 15
@schuchard
Copy link
Collaborator

schuchard commented Nov 18, 2022

#128 should fix the issue. However, deployment is blocked by sindresorhus/np#666

@schuchard schuchard reopened this Nov 18, 2022
@a1development
Copy link

is there any workaround to get this running on my end?

@schuchard
Copy link
Collaborator

https://github.com/briebug/jest-schematic/releases/tag/v6.0.0 adds support for Angular 15. Please reopen if you still have an issue with v6. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants