Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
fix(docs-infra): speed up ng test #39866
Conversation
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)


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?
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 testtask locally by ~30%:Does this PR introduce a breaking change?