diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9ecd1c7..27b904e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -186,8 +186,8 @@ importers: specifier: 8.2.3 version: 8.2.3(ember-source@6.0.1(@glimmer/component@2.0.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@2.0.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@2.0.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@2.0.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@2.0.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@2.0.0)(@glint/template@1.5.0)(rsvp@4.8.5)(webpack@5.97.1)) @@ -2586,10 +2586,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==} @@ -2640,8 +2636,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' @@ -8423,12 +8419,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 @@ -8639,12 +8629,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@2.0.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@2.0.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@2.0.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@2.0.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@2.0.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 ember-source: 6.0.1(@glimmer/component@2.0.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/test-app/package.json b/test-app/package.json index c47a9e6..741e01f 100644 --- a/test-app/package.json +++ b/test-app/package.json @@ -62,7 +62,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-source": "6.0.1", "ember-source-channel-url": "3.0.0", diff --git a/test-app/tests/test-helper.ts b/test-app/tests/test-helper.ts index 8184304..06a2ad0 100644 --- a/test-app/tests/test-helper.ts +++ b/test-app/tests/test-helper.ts @@ -3,7 +3,11 @@ import config from 'test-app/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'; + +setupEmberOnerrorValidation(); +loadTests(); setApplication(Application.create(config.APP));