diff --git a/package.json b/package.json index 768ee51f..1c6cd669 100644 --- a/package.json +++ b/package.json @@ -77,7 +77,7 @@ "ember-load-initializers": "^3.0.1", "ember-modifier": "^4.2.0", "ember-page-title": "^8.2.3", - "ember-qunit": "^8.1.1", + "ember-qunit": "^9.0.1", "ember-resolver": "^13.1.0", "ember-route-template": "^1.0.3", "ember-source": "~6.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 038a209b..94721fd5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -141,8 +141,8 @@ importers: specifier: ^8.2.3 version: 8.2.3(ember-source@6.0.1(@glimmer/component@1.1.2(@babel/core@7.26.0))(@glint/template@1.5.0)(rsvp@4.8.5)(webpack@5.97.1)) ember-qunit: - specifier: ^8.1.1 - version: 8.1.1(@ember/test-helpers@4.0.4(@babel/core@7.26.0)(@glint/template@1.5.0)(ember-source@6.0.1(@glimmer/component@1.1.2(@babel/core@7.26.0))(@glint/template@1.5.0)(rsvp@4.8.5)(webpack@5.97.1)))(@glint/template@1.5.0)(ember-source@6.0.1(@glimmer/component@1.1.2(@babel/core@7.26.0))(@glint/template@1.5.0)(rsvp@4.8.5)(webpack@5.97.1))(qunit@2.23.1) + specifier: ^9.0.1 + version: 9.0.1(@ember/test-helpers@4.0.4(@babel/core@7.26.0)(@glint/template@1.5.0)(ember-source@6.0.1(@glimmer/component@1.1.2(@babel/core@7.26.0))(@glint/template@1.5.0)(rsvp@4.8.5)(webpack@5.97.1)))(@glint/template@1.5.0)(ember-source@6.0.1(@glimmer/component@1.1.2(@babel/core@7.26.0))(@glint/template@1.5.0)(rsvp@4.8.5)(webpack@5.97.1))(qunit@2.23.1) ember-resolver: specifier: ^13.1.0 version: 13.1.0(ember-source@6.0.1(@glimmer/component@1.1.2(@babel/core@7.26.0))(@glint/template@1.5.0)(rsvp@4.8.5)(webpack@5.97.1)) @@ -3353,10 +3353,6 @@ packages: resolution: {integrity: sha512-Ej77K+YhCZImotoi/CU2cfsoZaswoPlGaM5TB3LvjvPDlVPRhxUHO2RsaUVC5lsGeRLRiHCOxVtoJ6GyqexzFA==} engines: {node: 10.* || 12.* || >= 14} - ember-cli-test-loader@3.1.0: - resolution: {integrity: sha512-0aocZV9SIoOHiU3hrH3IuLR6busWhTX6UVXgd490hmJkIymmOXNH2+jJoC7Ebkeo3PiOfAdjqhb765QDlHSJOw==} - engines: {node: 10.* || >= 12} - ember-cli-typescript-blueprint-polyfill@0.1.0: resolution: {integrity: sha512-g0weUTOnHmPGqVZzkQTl3Nbk9fzEdFkEXydCs5mT1qBjXh8eQ6VlmjjGD5/998UXKuA0pLSCVVMbSp/linLzGA==} @@ -3415,8 +3411,8 @@ packages: peerDependencies: ember-source: '>= 3.28.0' - ember-qunit@8.1.1: - resolution: {integrity: sha512-nT+6s74j3BKNn+QQY/hINC3Xw3kn0NF0cU9zlgVQmCBWoyis1J24xWrY2LFOMThPmF6lHqcrUb5JwvBD4BXEXg==} + ember-qunit@9.0.1: + resolution: {integrity: sha512-9DgjczFG7ZjINmwWFYDtUF8McbYqQir82hyFp/ZbMOLkpFvHCKPw1mtKcpcdLnLAAYJpwR2/MCyPNiEMkR11aA==} peerDependencies: '@ember/test-helpers': '>=3.0.3' ember-source: '>=4.0.0' @@ -11620,12 +11616,6 @@ snapshots: transitivePeerDependencies: - supports-color - ember-cli-test-loader@3.1.0: - dependencies: - ember-cli-babel: 7.26.11 - transitivePeerDependencies: - - supports-color - ember-cli-typescript-blueprint-polyfill@0.1.0: dependencies: chalk: 4.1.2 @@ -11864,12 +11854,11 @@ snapshots: transitivePeerDependencies: - supports-color - ember-qunit@8.1.1(@ember/test-helpers@4.0.4(@babel/core@7.26.0)(@glint/template@1.5.0)(ember-source@6.0.1(@glimmer/component@1.1.2(@babel/core@7.26.0))(@glint/template@1.5.0)(rsvp@4.8.5)(webpack@5.97.1)))(@glint/template@1.5.0)(ember-source@6.0.1(@glimmer/component@1.1.2(@babel/core@7.26.0))(@glint/template@1.5.0)(rsvp@4.8.5)(webpack@5.97.1))(qunit@2.23.1): + ember-qunit@9.0.1(@ember/test-helpers@4.0.4(@babel/core@7.26.0)(@glint/template@1.5.0)(ember-source@6.0.1(@glimmer/component@1.1.2(@babel/core@7.26.0))(@glint/template@1.5.0)(rsvp@4.8.5)(webpack@5.97.1)))(@glint/template@1.5.0)(ember-source@6.0.1(@glimmer/component@1.1.2(@babel/core@7.26.0))(@glint/template@1.5.0)(rsvp@4.8.5)(webpack@5.97.1))(qunit@2.23.1): dependencies: '@ember/test-helpers': 4.0.4(@babel/core@7.26.0)(@glint/template@1.5.0)(ember-source@6.0.1(@glimmer/component@1.1.2(@babel/core@7.26.0))(@glint/template@1.5.0)(rsvp@4.8.5)(webpack@5.97.1)) '@embroider/addon-shim': 1.9.0 - '@embroider/macros': 1.16.9(@glint/template@1.5.0) - ember-cli-test-loader: 3.1.0 + '@embroider/macros': 1.16.10(@glint/template@1.5.0) ember-source: 6.0.1(@glimmer/component@1.1.2(@babel/core@7.26.0))(@glint/template@1.5.0)(rsvp@4.8.5)(webpack@5.97.1) qunit: 2.23.1 qunit-theme-ember: 1.0.0 diff --git a/tests/test-helper.ts b/tests/test-helper.ts index 4ca9b35d..505fe4fb 100644 --- a/tests/test-helper.ts +++ b/tests/test-helper.ts @@ -3,10 +3,12 @@ import config from 'website/config/environment'; import * as QUnit from 'qunit'; import { setApplication } from '@ember/test-helpers'; import { setup } from 'qunit-dom'; -import { start } from 'ember-qunit'; +import { loadTests } from 'ember-qunit/test-loader'; +import { start, setupEmberOnerrorValidation } from 'ember-qunit'; setApplication(Application.create(config.APP)); setup(QUnit.assert); - +setupEmberOnerrorValidation(); +loadTests(); start();