Skip to content

chore: Remove Ember.testing deprecation#898

Open
xn wants to merge 1 commit intofreshbooks:mainfrom
xn:remove-deprecate-import-testing-from-ember
Open

chore: Remove Ember.testing deprecation#898
xn wants to merge 1 commit intofreshbooks:mainfrom
xn:remove-deprecate-import-testing-from-ember

Conversation

@xn
Copy link
Copy Markdown

@xn xn commented Nov 14, 2025

Copilot AI review requested due to automatic review settings November 14, 2025 13:50
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR removes the deprecated Ember.testing usage and replaces it with the modern isTesting() function from @ember/debug, addressing Ember deprecation warnings.

Key changes:

  • Replaced the deprecated Ember import with isTesting from @ember/debug
  • Updated all three usages of Ember.testing to call isTesting() instead
  • Removed the eslint-disable comment that was needed for the deprecated pattern

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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