getsaf / shallow-render

Angular testing made easy with shallow rendering and easy mocking. https://getsaf.github.io/shallow-render
MIT License
273 stars 25 forks source link

Warning with angular6 #27

Closed alexbjorlig closed 6 years ago

alexbjorlig commented 6 years ago

Thanks for the awesome library.

I get this error when using shallow-render with angular v6:

npm WARN @angular/common@5.2.11 requires a peer of rxjs@^5.5.0 but none is installed. You must install peer dependencies yourself.
npm WARN @angular/core@5.2.11 requires a peer of rxjs@^5.5.0 but none is installed. You must install peer dependencies yourself.
npm WARN @angular/forms@5.2.11 requires a peer of rxjs@^5.5.0 but none is installed. You must install peer dependencies yourself.

I am using shallow-render version 0.13.0

getsaf commented 6 years ago

Thanks! I just happen to be working on Angular 6 support this morning. It's coming up in a few minutes!

getsaf commented 6 years ago

Just published v6.0.0. I decided to follow closer to the Angular version numbers to help users know which version they need for their projects.

Give it a go and let me know if this resolves your issue.

getsaf commented 6 years ago

FYI, NPM is having some issues this morning with newly published packages: https://status.npmjs.org/incidents/3rjzvts6v98k

I haven't been able to npm install version 6 yet, but once NPM resolves that issue, we should be good to go.