From 39f0babe2a03dc6a743e380b1878c958cbbfeca2 Mon Sep 17 00:00:00 2001 From: Markus Sanin Date: Tue, 25 Jun 2024 16:47:01 +0200 Subject: [PATCH] Add `ember-qunit-5` for old ember tests --- package.json | 1 + pnpm-lock.yaml | 3 +++ test-app/scenarios.js | 12 ++++++++++++ 3 files changed, 16 insertions(+) diff --git a/package.json b/package.json index 31cfc23..b442fb5 100644 --- a/package.json +++ b/package.json @@ -72,6 +72,7 @@ "ember-load-initializers": "^2.1.2", "ember-maybe-import-regenerator": "0.1.6", "ember-page-title": "^7.0.0", + "ember-qunit-5": "npm:ember-source@^5.1.5", "ember-qunit": "^6.2.0", "ember-resolver": "^8.0.3", "ember-source-3.16": "npm:ember-source@~3.16.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a17f474..714ffff 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -108,6 +108,9 @@ importers: ember-qunit: specifier: ^6.2.0 version: 6.2.0(@ember/test-helpers@2.9.4(@babel/core@7.24.7)(ember-source@3.28.12(@babel/core@7.24.7)))(ember-source@3.28.12(@babel/core@7.24.7))(qunit@2.21.0)(webpack@5.92.1) + ember-qunit-5: + specifier: npm:ember-source@^5.1.5 + version: ember-source@5.9.0(@babel/core@7.24.7)(@glimmer/component@1.1.2(@babel/core@7.24.7))(rsvp@4.8.5)(webpack@5.92.1) ember-resolver: specifier: ^8.0.3 version: 8.1.0(@babel/core@7.24.7) diff --git a/test-app/scenarios.js b/test-app/scenarios.js index a0e15b8..d6156ec 100644 --- a/test-app/scenarios.js +++ b/test-app/scenarios.js @@ -36,6 +36,10 @@ async function lts_3_16(project) { baseDir: __dirname, resolveName: 'ember-source-3.16', }); + project.linkDevDependency('ember-qunit', { + baseDir: __dirname, + resolveName: 'ember-qunit-5', + }); } async function lts_3_20(project) { @@ -47,6 +51,10 @@ async function lts_3_20(project) { baseDir: __dirname, resolveName: 'ember-source-3.20', }); + project.linkDevDependency('ember-qunit', { + baseDir: __dirname, + resolveName: 'ember-qunit-5', + }); } async function lts_3_24(project) { @@ -58,6 +66,10 @@ async function lts_3_24(project) { baseDir: __dirname, resolveName: 'ember-source-3.24', }); + project.linkDevDependency('ember-qunit', { + baseDir: __dirname, + resolveName: 'ember-qunit-5', + }); } async function lts_3_28(project) {