Skip to content

fix: replace deprecated animation and testing-module APIs - #595

Open
JeevanMahesha wants to merge 2 commits into
testing-library:mainfrom
JeevanMahesha:fix/replace-deprecated-testing-apis
Open

fix: replace deprecated animation and testing-module APIs#595
JeevanMahesha wants to merge 2 commits into
testing-library:mainfrom
JeevanMahesha:fix/replace-deprecated-testing-apis

Conversation

@JeevanMahesha

Copy link
Copy Markdown
Contributor
  • Swap provideNoopAnimations() for Material's MATERIAL_ANIMATIONS token in dialog specs (provideNoopAnimations is deprecated since v20.2)
  • Swap BrowserDynamicTestingModule/platformBrowserDynamicTesting for BrowserTestingModule/platformBrowserTesting in karma test.ts, and drop the now-unused @angular/platform-browser-dynamic dependency

- Swap provideNoopAnimations() for Material's MATERIAL_ANIMATIONS token
  in dialog specs (provideNoopAnimations is deprecated since v20.2)
- Swap BrowserDynamicTestingModule/platformBrowserDynamicTesting for
  BrowserTestingModule/platformBrowserTesting in karma test.ts, and
  drop the now-unused @angular/platform-browser-dynamic dependency
@JeevanMahesha
JeevanMahesha marked this pull request as draft August 7, 2026 16:34
@JeevanMahesha
JeevanMahesha marked this pull request as ready for review August 8, 2026 02:57

@timdeschryver timdeschryver left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks again for the PR @JeevanMahesha !

Comment thread package.json
"prepare": "git config core.hookspath .githooks"
},
"dependencies": {
"@angular/animations": "22.0.2",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we still need this package?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JeevanMahesha I accidentally approved, but could you please take a look at this please.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants