From 68458dc897e5fb00524434d81a8dcaf87f29edb6 Mon Sep 17 00:00:00 2001 From: Ricardo Mendes Date: Fri, 27 Jun 2025 16:40:32 +0100 Subject: [PATCH] Update deprecate-import-testing-from-ember.md Add migration path to this deprecation. --- content/ember/v6/deprecate-import-testing-from-ember.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/content/ember/v6/deprecate-import-testing-from-ember.md b/content/ember/v6/deprecate-import-testing-from-ember.md index 0831de34..b1ef9acb 100644 --- a/content/ember/v6/deprecate-import-testing-from-ember.md +++ b/content/ember/v6/deprecate-import-testing-from-ember.md @@ -12,4 +12,10 @@ import Ember from 'ember'; Ember.testing ``` -There is no replacement for this API. +You can replace this with an import from the [`@embroider/macros`](https://github.com/embroider-build/embroider/tree/main/packages/macros) package: + +```js +import { isTesting } from '@embroider/macros'; + +isTesting() +```