diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f210caa3..a4473c8a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -56,6 +56,7 @@ jobs: - ember-lts-4.8 - ember-lts-4.12 - ember-lts-5.4 + - ember-test-helpers-v3 - ember-release - embroider-safe experimental: [false] diff --git a/package.json b/package.json index 570aa41a..6b278767 100644 --- a/package.json +++ b/package.json @@ -38,11 +38,12 @@ "intersection-observer-admin": "^0.3.4" }, "peerDependencies": { - "@ember/test-helpers": "^3.0.0 || ^4.0.0" + "@ember/test-helpers": "^3.0.0 || ^4.0.0", + "ember-source": "^4.0.0 || ^5.0.0" }, "peerDependenciesMeta": { "@ember/test-helpers": { - "optional": false + "optional": true } }, "devDependencies": { @@ -101,9 +102,6 @@ "fastbootDependencies": [ "crypto" ], - "peerDependencies": { - "ember-source": "^4.0.0 || ^5.0.0" - }, "engines": { "node": "16.* || >= 18" }, diff --git a/tests/dummy/config/ember-try.js b/tests/dummy/config/ember-try.js index 152a3d5a..7764a2f3 100644 --- a/tests/dummy/config/ember-try.js +++ b/tests/dummy/config/ember-try.js @@ -39,6 +39,14 @@ module.exports = async function () { }, }, }, + { + name: 'ember-test-helpers-v3', + npm: { + devDependencies: { + '@ember/test-helpers': '^3.3.1', + }, + }, + }, { name: 'ember-release', npm: {