Visitar URL original
test: remove Ivy/ViewEngine switch helpers and corresponding tests by AndrewKushnir · Pull Request #44120 · angular/angular · GitHub
The Wayback Machine - https://web.archive.org/web/20220131204500/https://github.com/angular/angular/pull/44120
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

test: remove Ivy/ViewEngine switch helpers and corresponding tests #44120

Closed
wants to merge 1 commit into from

Conversation

@AndrewKushnir
Copy link
Contributor

@AndrewKushnir AndrewKushnir commented Nov 9, 2021 •

This commit removes special functions that were used to run tests in ViewEngine or Ivy only.
Since ViewEngine is deprecated and we no longer run ViewEngine tests on CI, we can cleanup
those special helpers and ViewEngine-only tests.

PR Type

What kind of change does this PR introduce?

  • Other... Please describe: updates to tests to get rid of no longer needed helpers and corresponding tests.

Does this PR introduce a breaking change?

  • Yes
  • No
@google-cla google-cla bot added the cla: yes label Nov 9, 2021
@ngbot ngbot bot added this to the Backlog milestone Nov 9, 2021
@ngbot ngbot bot added this to the Backlog milestone Nov 9, 2021
@AndrewKushnir
Copy link
Contributor Author

@AndrewKushnir AndrewKushnir commented Nov 10, 2021

This PR is blocked by #43884, which would result in the legacy-unit-test-saucelabs CI job to use Ivy JIT compiler correctly.

Copy link
Member

@crisbeto crisbeto left a comment

LGTM

Copy link
Member

@petebacondarwin petebacondarwin left a comment

I think you can actually delete the packages/private/testing/src/angular_ivy_enabled.ts file too.

Copy link
Member

@petebacondarwin petebacondarwin left a comment

Nice work @AndrewKushnir. You're killin' it! (ViewEngine that is!)

Copy link
Contributor

@jessicajaniuk jessicajaniuk left a comment

LGTM 🍪

Just a couple of places where the name Ivy is still mentioned. We should probably audit the code base looking for View Engine and Ivy and remove references at some point.

This commit removes special functions that were used to run tests in ViewEngine or Ivy only.
Since ViewEngine is deprecated and we no longer run ViewEngine tests on CI, we can cleanup
those special helpers and ViewEngine-only tests.
@AndrewKushnir
Copy link
Contributor Author

@AndrewKushnir AndrewKushnir commented Nov 24, 2021

Note to the Caretaker: this is refactoring PR with low risk (does not affect g3 as well). The PR was reviewed and approved by multiple team members, so it should be ok to proceed with the merge.

@jessicajaniuk
Copy link
Contributor

@jessicajaniuk jessicajaniuk commented Nov 24, 2021

This PR was merged into the repository by commit b31973c.

AndrewKushnir added a commit to AndrewKushnir/angular that referenced this issue Nov 24, 2021
…r#44120)

This commit removes special functions that were used to run tests in ViewEngine or Ivy only.
Since ViewEngine is deprecated and we no longer run ViewEngine tests on CI, we can cleanup
those special helpers and ViewEngine-only tests.

PR Close angular#44120
@AndrewKushnir
Copy link
Contributor Author

@AndrewKushnir AndrewKushnir commented Nov 24, 2021

FYI, patch-only version of this PR is available here (original change conflicted with 13.0.x branch): #44262.

jessicajaniuk added a commit that referenced this issue Nov 24, 2021
#44262)

This commit removes special functions that were used to run tests in ViewEngine or Ivy only.
Since ViewEngine is deprecated and we no longer run ViewEngine tests on CI, we can cleanup
those special helpers and ViewEngine-only tests.

PR Close #44120

PR Close #44262
@angular-automatic-lock-bot
Copy link

@angular-automatic-lock-bot angular-automatic-lock-bot bot commented Dec 25, 2021

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Dec 25, 2021
dimakuba added a commit to dimakuba/angular that referenced this issue Dec 28, 2021
…r#44120)

This commit removes special functions that were used to run tests in ViewEngine or Ivy only.
Since ViewEngine is deprecated and we no longer run ViewEngine tests on CI, we can cleanup
those special helpers and ViewEngine-only tests.

PR Close angular#44120
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

4 participants