Visitar URL original
fix(docs-infra): speed up ng test by cexbrayat · Pull Request #39866 · angular/angular · GitHub
The Wayback Machine - https://web.archive.org/web/20201127172933/https://github.com/angular/angular/pull/39866
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

fix(docs-infra): speed up ng test #39866

Open
wants to merge 1 commit into
base: master
from

Conversation

@cexbrayat
Copy link
Contributor

@cexbrayat cexbrayat commented Nov 27, 2020

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • angular.io application / infrastructure changes
  • Other... Please describe:

What is the current behavior?

There is currently a known issue with the framework when testing that leaks style.
See #31834

A possible temporary workaround is to manually call the service that adds/aremoves the style.
See #31834 (comment)

This workaround will be unnecessary when #38336 lands.

What is the new behavior?

This speeds up the ng test task locally by ~30%:

  • before: Executed 649 of 652 (skipped 3) SUCCESS (24.161 secs / 20.072 secs)
  • after: Executed 649 of 652 (skipped 3) SUCCESS (17.854 secs / 15.584 secs)

Does this PR introduce a breaking change?

  • Yes
  • No
There is currently a known issue with the framework when testing that leaks style.
See #31834

A possible temporary workaround is to manually call the service that adds/aremoves the style.
See #31834 (comment)

This workaround will be unnecessary when #38336 lands.

This speeds up the `ng test` task locally by ~30%:
- before: Executed 649 of 652 (skipped 3) SUCCESS (24.161 secs / 20.072 secs)
- after: Executed 649 of 652 (skipped 3) SUCCESS (17.854 secs / 15.584 secs)
@google-cla google-cla bot added the cla: yes label Nov 27, 2020
@pullapprove pullapprove bot requested a review from petebacondarwin Nov 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

1 participant
You can’t perform that action at this time.