Repository navigation
test(docs-infra): add unit tests for rxjs examples - #38905
sonukapoor wants to merge 4 commits into
Conversation
gkalpak
left a comment
There was a problem hiding this comment.
Thx, @sonukappor!
Awesome to see that these tests provide immediate value by finding broken examples (such as the retry-on-error one) 🎉
Please update the commit message to mention that this PR is targeting the rx-library example specifically.
62fc8a4 to
79741b1
Compare
c19bc48 to
015e251
Compare
gkalpak
left a comment
There was a problem hiding this comment.
Reminder to self: #38905 (comment) is still pending.
49c8389 to
e7a7160
Compare
e7a7160 to
5cda081
Compare
gkalpak
left a comment
There was a problem hiding this comment.
#38905 (comment) doesn't seem to have been addressed.
Reminder to self: #38905 (comment) is still pending.
gkalpak
left a comment
There was a problem hiding this comment.
#38905 (comment) doesn't seem to have been addressed.
Reminder to self: #38905 (comment) is still pending.
This commit adds missing unit tests for all rx-library examples from the docs. Closes angular#28017
This commit adds an extra test for the `retry-on-error` snippet of the `rx-library` docs example to ensure it can successfully recover after a couple of failed attempts. This commit addresses comment angular#38905 (comment).
30a7212 to
e0e139d
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
gkalpak
left a comment
There was a problem hiding this comment.
LGTM ![]()
Thank you, @sonukapoor, for getting everything sorted out ❤️
Reviewed-for: global-docs-approvers
|
@sonukapoor: FYI, I rebased this on master, squashed fixup commits, added a new fixup commit with some minor clean-up and added a new commit with the test we discussed in #38905 (comment). Please, take a look and confirm this looks good to you 👀 |
LGTM. Thanks @gkalpak |
…38905) This commit adds an extra test for the `retry-on-error` snippet of the `rx-library` docs example to ensure it can successfully recover after a couple of failed attempts. This commit addresses comment #38905 (comment). PR Close #38905
Previously, the `retry` example did not work as intended. The `retry` operator was called before the exception occured, thus not retrying the `ajax` request. This commit moves the `retry` operator into the correct order to ensure that the failed request is retried. PR Close #38905
…38905) This commit adds an extra test for the `retry-on-error` snippet of the `rx-library` docs example to ensure it can successfully recover after a couple of failed attempts. This commit addresses comment #38905 (comment). PR Close #38905
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
This commit adds missing unit tests for all rxjs examples from the docs.
Closes #28017
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
Does this PR introduce a breaking change?