Repository: ember-cli/ember-cli
Pull request #10621 (2025-01-30 22:17:32)

[ENHANCEMENT] Bump `@ember/test-helpers` to v5.1.0 in blueprints


Patch:
diff --git a/blueprints/app/files/package.json b/blueprints/app/files/package.json
index 63bfbe88e..59ba93b0e 100644
--- a/blueprints/app/files/package.json
+++ b/blueprints/app/files/package.json
@@ -42,7 +42,7 @@
     "@ember-data/store": "~5.4.0-beta.12",
     "@ember-data/tracking": "~5.4.0-beta.12<% } %>",
     "@ember/optional-features": "^2.2.0",
-    "@ember/test-helpers": "^4.0.4<% if (embroider) { %>",
+    "@ember/test-helpers": "^5.1.0<% if (embroider) { %>",
     "@embroider/compat": "^3.8.0",
     "@embroider/core": "^3.5.0<% } %>",
     "@embroider/macros": "^1.16.10<% if (embroider) { %>",


Test patch:
diff --git a/tests/fixtures/addon/defaults/package.json b/tests/fixtures/addon/defaults/package.json
index 7f0ec8219..fe02304ea 100644
--- a/tests/fixtures/addon/defaults/package.json
+++ b/tests/fixtures/addon/defaults/package.json
@@ -39,7 +39,7 @@
     "@babel/eslint-parser": "^7.25.9",
     "@babel/plugin-proposal-decorators": "^7.25.9",
     "@ember/optional-features": "^2.2.0",
-    "@ember/test-helpers": "^4.0.4",
+    "@ember/test-helpers": "^5.1.0",
     "@embroider/macros": "^1.16.10",
     "@embroider/test-setup": "^4.0.0",
     "@eslint/js": "^9.17.0",
diff --git a/tests/fixtures/addon/pnpm/package.json b/tests/fixtures/addon/pnpm/package.json
index e154de7a6..22d8adecb 100644
--- a/tests/fixtures/addon/pnpm/package.json
+++ b/tests/fixtures/addon/pnpm/package.json
@@ -39,7 +39,7 @@
     "@babel/eslint-parser": "^7.25.9",
     "@babel/plugin-proposal-decorators": "^7.25.9",
     "@ember/optional-features": "^2.2.0",
-    "@ember/test-helpers": "^4.0.4",
+    "@ember/test-helpers": "^5.1.0",
     "@embroider/macros": "^1.16.10",
     "@embroider/test-setup": "^4.0.0",
     "@eslint/js": "^9.17.0",
diff --git a/tests/fixtures/addon/typescript/package.json b/tests/fixtures/addon/typescript/package.json
index 55d9665f8..e6db4b0d1 100644
--- a/tests/fixtures/addon/typescript/package.json
+++ b/tests/fixtures/addon/typescript/package.json
@@ -55,7 +55,7 @@
   },
   "devDependencies": {
     "@ember/optional-features": "^2.2.0",
-    "@ember/test-helpers": "^4.0.4",
+    "@ember/test-helpers": "^5.1.0",
     "@embroider/macros": "^1.16.10",
     "@embroider/test-setup": "^4.0.0",
     "@eslint/js": "^9.17.0",
diff --git a/tests/fixtures/addon/yarn/package.json b/tests/fixtures/addon/yarn/package.json
index e48fdd6e8..7603be7cb 100644
--- a/tests/fixtures/addon/yarn/package.json
+++ b/tests/fixtures/addon/yarn/package.json
@@ -39,7 +39,7 @@
     "@babel/eslint-parser": "^7.25.9",
     "@babel/plugin-proposal-decorators": "^7.25.9",
     "@ember/optional-features": "^2.2.0",
-    "@ember/test-helpers": "^4.0.4",
+    "@ember/test-helpers": "^5.1.0",
     "@embroider/macros": "^1.16.10",
     "@embroider/test-setup": "^4.0.0",
     "@eslint/js": "^9.17.0",
diff --git a/tests/fixtures/app/defaults/package.json b/tests/fixtures/app/defaults/package.json
index 1e9668e8d..538de4e91 100644
--- a/tests/fixtures/app/defaults/package.json
+++ b/tests/fixtures/app/defaults/package.json
@@ -31,7 +31,7 @@
     "@babel/eslint-parser": "^7.25.9",
     "@babel/plugin-proposal-decorators": "^7.25.9",
     "@ember/optional-features": "^2.2.0",
-    "@ember/test-helpers": "^4.0.4",
+    "@ember/test-helpers": "^5.1.0",
     "@embroider/macros": "^1.16.10",
     "@eslint/js": "^9.17.0",
     "@glimmer/component": "^2.0.0",
diff --git a/tests/fixtures/app/embroider-no-welcome/package.json b/tests/fixtures/app/embroider-no-welcome/package.json
index 4f45f94d4..f3d90a478 100644
--- a/tests/fixtures/app/embroider-no-welcome/package.json
+++ b/tests/fixtures/app/embroider-no-welcome/package.json
@@ -31,7 +31,7 @@
     "@babel/eslint-parser": "^7.25.9",
     "@babel/plugin-proposal-decorators": "^7.25.9",
     "@ember/optional-features": "^2.2.0",
-    "@ember/test-helpers": "^4.0.4",
+    "@ember/test-helpers": "^5.1.0",
     "@embroider/compat": "^3.8.0",
     "@embroider/core": "^3.5.0",
     "@embroider/macros": "^1.16.10",
diff --git a/tests/fixtures/app/embroider-pnpm/package.json b/tests/fixtures/app/embroider-pnpm/package.json
index bf01725d1..8516bb10d 100644
--- a/tests/fixtures/app/embroider-pnpm/package.json
+++ b/tests/fixtures/app/embroider-pnpm/package.json
@@ -31,7 +31,7 @@
     "@babel/eslint-parser": "^7.25.9",
     "@babel/plugin-proposal-decorators": "^7.25.9",
     "@ember/optional-features": "^2.2.0",
-    "@ember/test-helpers": "^4.0.4",
+    "@ember/test-helpers": "^5.1.0",
     "@embroider/compat": "^3.8.0",
     "@embroider/core": "^3.5.0",
     "@embroider/macros": "^1.16.10",
diff --git a/tests/fixtures/app/embroider-yarn/package.json b/tests/fixtures/app/embroider-yarn/package.json
index 717980079..998f0ef4f 100644
--- a/tests/fixtures/app/embroider-yarn/package.json
+++ b/tests/fixtures/app/embroider-yarn/package.json
@@ -31,7 +31,7 @@
     "@babel/eslint-parser": "^7.25.9",
     "@babel/plugin-proposal-decorators": "^7.25.9",
     "@ember/optional-features": "^2.2.0",
-    "@ember/test-helpers": "^4.0.4",
+    "@ember/test-helpers": "^5.1.0",
     "@embroider/compat": "^3.8.0",
     "@embroider/core": "^3.5.0",
     "@embroider/macros": "^1.16.10",
diff --git a/tests/fixtures/app/embroider/package.json b/tests/fixtures/app/embroider/package.json
index 2c3233c3d..72dc14f46 100644
--- a/tests/fixtures/app/embroider/package.json
+++ b/tests/fixtures/app/embroider/package.json
@@ -31,7 +31,7 @@
     "@babel/eslint-parser": "^7.25.9",
     "@babel/plugin-proposal-decorators": "^7.25.9",
     "@ember/optional-features": "^2.2.0",
-    "@ember/test-helpers": "^4.0.4",
+    "@ember/test-helpers": "^5.1.0",
     "@embroider/compat": "^3.8.0",
     "@embroider/core": "^3.5.0",
     "@embroider/macros": "^1.16.10",
diff --git a/tests/fixtures/app/npm/package.json b/tests/fixtures/app/npm/package.json
index 60df303bd..e83f98f02 100644
--- a/tests/fixtures/app/npm/package.json
+++ b/tests/fixtures/app/npm/package.json
@@ -31,7 +31,7 @@
     "@babel/eslint-parser": "^7.25.9",
     "@babel/plugin-proposal-decorators": "^7.25.9",
     "@ember/optional-features": "^2.2.0",
-    "@ember/test-helpers": "^4.0.4",
+    "@ember/test-helpers": "^5.1.0",
     "@embroider/macros": "^1.16.10",
     "@eslint/js": "^9.17.0",
     "@glimmer/component": "^2.0.0",
diff --git a/tests/fixtures/app/pnpm/package.json b/tests/fixtures/app/pnpm/package.json
index 7d80f482a..331f99e7a 100644
--- a/tests/fixtures/app/pnpm/package.json
+++ b/tests/fixtures/app/pnpm/package.json
@@ -31,7 +31,7 @@
     "@babel/eslint-parser": "^7.25.9",
     "@babel/plugin-proposal-decorators": "^7.25.9",
     "@ember/optional-features": "^2.2.0",
-    "@ember/test-helpers": "^4.0.4",
+    "@ember/test-helpers": "^5.1.0",
     "@embroider/macros": "^1.16.10",
     "@eslint/js": "^9.17.0",
     "@glimmer/component": "^2.0.0",
diff --git a/tests/fixtures/app/typescript-embroider/package.json b/tests/fixtures/app/typescript-embroider/package.json
index f27607cc0..ff2196805 100644
--- a/tests/fixtures/app/typescript-embroider/package.json
+++ b/tests/fixtures/app/typescript-embroider/package.json
@@ -40,7 +40,7 @@
     "@ember-data/store": "~5.4.0-beta.12",
     "@ember-data/tracking": "~5.4.0-beta.12",
     "@ember/optional-features": "^2.2.0",
-    "@ember/test-helpers": "^4.0.4",
+    "@ember/test-helpers": "^5.1.0",
     "@embroider/compat": "^3.8.0",
     "@embroider/core": "^3.5.0",
     "@embroider/macros": "^1.16.10",
diff --git a/tests/fixtures/app/typescript/package.json b/tests/fixtures/app/typescript/package.json
index f79efeac0..9a0ca8338 100644
--- a/tests/fixtures/app/typescript/package.json
+++ b/tests/fixtures/app/typescript/package.json
@@ -40,7 +40,7 @@
     "@ember-data/store": "~5.4.0-beta.12",
     "@ember-data/tracking": "~5.4.0-beta.12",
     "@ember/optional-features": "^2.2.0",
-    "@ember/test-helpers": "^4.0.4",
+    "@ember/test-helpers": "^5.1.0",
     "@embroider/macros": "^1.16.10",
     "@eslint/js": "^9.17.0",
     "@glimmer/component": "^2.0.0",
diff --git a/tests/fixtures/app/yarn/package.json b/tests/fixtures/app/yarn/package.json
index 049f10e48..46589b553 100644
--- a/tests/fixtures/app/yarn/package.json
+++ b/tests/fixtures/app/yarn/package.json
@@ -31,7 +31,7 @@
     "@babel/eslint-parser": "^7.25.9",
     "@babel/plugin-proposal-decorators": "^7.25.9",
     "@ember/optional-features": "^2.2.0",
-    "@ember/test-helpers": "^4.0.4",
+    "@ember/test-helpers": "^5.1.0",
     "@embroider/macros": "^1.16.10",
     "@eslint/js": "^9.17.0",
     "@glimmer/component": "^2.0.0",