-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Effect tests failed after upgrading from 4.1.1 to 5.0.0 #739
Comments
@dereklin I had a similar issue with my code (ng-seed/universal) with In your code at https://github.com/dereklin/ngrx-store-effects-app/blob/master/src/products/store/effects/pizzas.effect.ts#L17, the following change should work: Instead of
you may try this:
Let us know if that works for you my friend. |
@fulls1z3 Yes. Thanks. I was troubleshooting this and figured this out as well. Looking at the example-app, the ofType is inside the pipe. This breaking change should have been documented. |
@dereklin I agree, that should be documented, but as being a library author I can honestly say it's very possible to miss that small detail 😄 I think it's best to send a PR to ngrx team, so they will take care of it 👍 |
@dereklin this wasn't intended to be a breaking change. We'll take a look and get a fix in. |
This also broke the API documentation sample over here:
Reverting to 4.1.1 for now and hoping for a quick 5.0.1 :) EDIT: Nevermind, this is just a problem with the tsc strict mode: #753 |
Fix released in 5.0.1 |
I'm submitting a...
What is the current behavior?
Effect tests are failing after the upgrade
Expected behavior:
Effect tests should continue to work since no breaking changes were documented
Minimal reproduction of the problem with instructions:
Clone this repo https://github.com/dereklin/ngrx-store-effects-app/tree/ngrx4-1-1
Make sure to switch to branch ngrx4-1-1
npm install
npm run test
See that all tests pass
Then switch to master: https://github.com/dereklin/ngrx-store-effects-app
Master uses ngrx 5.0.0
npm install
npm run test
See these error messages:
Version of affected browser(s),operating system(s), npm, node and ngrx:
Other information:
The text was updated successfully, but these errors were encountered: