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
test(docs-infra): add missing tests for observables and promises #34537
Conversation
Marking this as blocked on #34327, since it builds on top of that. |
3eb2e21
to
583ad7f
Compare
583ad7f
to
aa9a17b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thx, @sonukapoor ❤️
I've left some comments. Also, the current commit message ("tests for observables and promises") is too generic. Can you, please, change it to be more specific. E.g. something like:
test(docs-infra): add tests for `comparing-observables` example
I, also, just realized that we need to make sure the tests are run on CI (currently they are not afaict) 😁 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just few more (minor) comments to go 😃
Also, as mentioned in #34537 (comment), we need to run these tests on CI. This is similar to what you did for other Observables-related examples in #34063. I.e. you need to:
- Add a dummy
e2e/src/app.e2e-spec.ts
(e.g. similar to observables/e2e/src/app.e2e-spec.ts). - Add an appropriate
example-config.json
(e.g. similar to observables/example-config.json but specifying a different command that actually runs the unit tests).
aio/content/examples/comparing-observables/src/promises.spec.ts
Outdated
Show resolved
Hide resolved
aio/content/examples/comparing-observables/src/observables.spec.ts
Outdated
Show resolved
Hide resolved
Yes, I haven't gotten to that yet. I wanted to make sure that we are happy with the codebase now. I should be able to look into the testing from CI next. |
f450f03
to
d902c0d
Compare
232d2e0
to
a5231d7
Compare
You can preview a5231d7 at https://pr34537-a5231d7.ngbuilds.io/. |
You can preview d2bd1cc at https://pr34537-d2bd1cc.ngbuilds.io/. |
d2bd1cc
to
98a1e73
Compare
You can preview f3bd82e at https://pr34537-f3bd82e.ngbuilds.io/. |
f3bd82e
to
c265a4f
Compare
You can preview c265a4f at https://pr34537-c265a4f.ngbuilds.io/. |
c265a4f
to
f9cc5b7
Compare
This commit adds missing tests for obserables and promises which are both stand-alone mini-apps.
This commit adds the necessary custom commands to run the tests in a node environment.
f9cc5b7
to
e25f686
Compare
aio/content/examples/comparing-observables/src/promises.spec.ts
Outdated
Show resolved
Hide resolved
You can preview e25f686 at https://pr34537-e25f686.ngbuilds.io/. |
You can preview ec9406f at https://pr34537-ec9406f.ngbuilds.io/. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice job, @sonukapoor! Thx 👍
Reviewed-for: global-docs-approvers
This commit adds missing tests for obserables and promises which are both stand-alone mini-apps. PR Close #34537
This commit adds the necessary custom commands to run the tests in a node environment. PR Close #34537
This commit adds the necessary custom commands to run the tests in a node environment. PR Close #34537
…lar#34537) This commit adds missing tests for obserables and promises which are both stand-alone mini-apps. PR Close angular#34537
This commit adds the necessary custom commands to run the tests in a node environment. PR Close angular#34537
…es (angular#34537)" This reverts commit f4c9134.
…lar#34537) This commit adds missing tests for obserables and promises which are both stand-alone mini-apps. PR Close angular#34537
This commit adds the necessary custom commands to run the tests in a node environment. PR Close angular#34537
…lar#34537) This commit adds missing tests for obserables and promises which are both stand-alone mini-apps. PR Close angular#34537
This commit adds the necessary custom commands to run the tests in a node environment. PR Close angular#34537
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. |
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: #34398
Does this PR introduce a breaking change?