diff --git a/package.json b/package.json index 2889a11..90c57de 100644 --- a/package.json +++ b/package.json @@ -95,7 +95,7 @@ "ember-notify": "^6.0.4", "ember-page-title": "^7.0.0", "ember-power-select": "^6.0.1", - "ember-qunit": "^6.1.1", + "ember-qunit": "8.0.2", "ember-resolver": "10.1.1", "ember-resources": "^6.3.1", "ember-simple-auth": "6.0.0-rc.1", diff --git a/tests/index.ts b/tests/index.ts index 519807b..b54818e 100644 --- a/tests/index.ts +++ b/tests/index.ts @@ -1,4 +1,4 @@ -import 'ember-qunit-styles/container.css'; +import './../node_modules/ember-qunit/dist/test-container-styles.css'; import 'qunit/qunit/qunit.css'; import './../src/style.css'; diff --git a/vite.config.ts b/vite.config.ts index 16827ee..1840eb5 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -146,13 +146,6 @@ export default defineConfig(({ mode }) => { find: 'ember-cli-test-loader/test-support/index', replacement: compatPath('ember-cli-test-loader/index.ts'), }, - { - find: 'ember-qunit-styles/container.css', - replacement: nodePath( - 'ember-qunit/vendor/ember-qunit/test-container-styles.css' - ), - }, - { find: '@ember/test-helpers', replacement: @@ -162,7 +155,6 @@ export default defineConfig(({ mode }) => { find: '@ember/test-waiters', replacement: '@ember/test-waiters/addon/@ember/test-waiters', }, - { find: 'ember-qunit', replacement: 'ember-qunit/addon-test-support' }, { find: '@glimmer/tracking/primitives/cache', replacement: nodePath( diff --git a/yarn.lock b/yarn.lock index e532ad8..39a61e2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1231,6 +1231,15 @@ broccoli-funnel "^3.0.8" semver "^7.3.8" +"@embroider/addon-shim@^1.8.6": + version "1.8.7" + resolved "https://registry.yarnpkg.com/@embroider/addon-shim/-/addon-shim-1.8.7.tgz#ba2dcb0647ed2cb0c500c835326266b89ceec595" + integrity sha512-JGOQNRj3UR0NdWEg8MsM2eqPLncEwSB1IX+rwntIj22TEKj8biqx7GDgSbeH+ZedijmCh354Hf2c5rthrdzUAw== + dependencies: + "@embroider/shared-internals" "^2.5.1" + broccoli-funnel "^3.0.8" + semver "^7.3.8" + "@embroider/macros@^0.50.0 || ^1.0.0", "@embroider/macros@^1.0.0", "@embroider/macros@^1.10.0", "@embroider/macros@^1.12.0", "@embroider/macros@^1.2.0", "@embroider/macros@^1.8.3", "@embroider/macros@^1.9.0": version "1.12.2" resolved "https://registry.yarnpkg.com/@embroider/macros/-/macros-1.12.2.tgz#feaa0deb3a2329a6441f5a0790279bd85bd80d08" @@ -1259,6 +1268,20 @@ resolve "^1.20.0" semver "^7.3.2" +"@embroider/macros@^1.13.1": + version "1.13.3" + resolved "https://registry.yarnpkg.com/@embroider/macros/-/macros-1.13.3.tgz#e1ff584e01bcdebb9fa9f6982ecc2ea89886867f" + integrity sha512-JUC1aHRLIN2LNy1l+gz7gWkw9JmnsE20GL3LduCzNvCAnEQpMTJhW5BUbEWqdCnAWBPte/M2ofckqBXyTZioTQ== + dependencies: + "@embroider/shared-internals" "2.5.1" + assert-never "^1.2.1" + babel-import-util "^2.0.0" + ember-cli-babel "^7.26.6" + find-up "^5.0.0" + lodash "^4.17.21" + resolve "^1.20.0" + semver "^7.3.2" + "@embroider/shared-internals@2.2.2": version "2.2.2" resolved "https://registry.yarnpkg.com/@embroider/shared-internals/-/shared-internals-2.2.2.tgz#8f19c9a8621b4c3f061a4af5060a82ec024655eb" @@ -1288,6 +1311,21 @@ semver "^7.3.5" typescript-memoize "^1.0.1" +"@embroider/shared-internals@2.5.1", "@embroider/shared-internals@^2.5.1": + version "2.5.1" + resolved "https://registry.yarnpkg.com/@embroider/shared-internals/-/shared-internals-2.5.1.tgz#a4d8c057cbff293ef6eb29ee6537f263d206b444" + integrity sha512-b+TWDBisH1p6HeTbJIO8pgu1WzfTP0ZSAlZBqjXwOyrS0ZxP1qNYRrEX+IxyzIibEFjXBxeLakiejz3DJvZX5A== + dependencies: + babel-import-util "^2.0.0" + debug "^4.3.2" + ember-rfc176-data "^0.3.17" + fs-extra "^9.1.0" + js-string-escape "^1.0.1" + lodash "^4.17.21" + resolve-package-path "^4.0.1" + semver "^7.3.5" + typescript-memoize "^1.0.1" + "@embroider/shared-internals@^1.0.0": version "1.8.3" resolved "https://registry.yarnpkg.com/@embroider/shared-internals/-/shared-internals-1.8.3.tgz#52d868dc80016e9fe983552c0e516f437bf9b9f9" @@ -5180,7 +5218,7 @@ ember-auto-import@^1.5.3: walk-sync "^0.3.3" webpack "^4.43.0" -ember-auto-import@^2.2.3, ember-auto-import@^2.4.0, ember-auto-import@^2.4.2, ember-auto-import@^2.4.3, ember-auto-import@^2.6.3: +ember-auto-import@^2.2.3, ember-auto-import@^2.4.0, ember-auto-import@^2.4.2, ember-auto-import@^2.6.3: version "2.6.3" resolved "https://registry.yarnpkg.com/ember-auto-import/-/ember-auto-import-2.6.3.tgz#f18d1b93dd10b08ba5496518436f9d56dd4e000a" integrity sha512-uLhrRDJYWCRvQ4JQ1e64XlSrqAKSd6PXaJ9ZsZI6Tlms9T4DtQFxNXasqji2ZRJBVrxEoLCRYX3RTldsQ0vNGQ== @@ -5301,7 +5339,7 @@ ember-cli-babel-plugin-helpers@^1.0.0, ember-cli-babel-plugin-helpers@^1.1.0, em resolved "https://registry.yarnpkg.com/ember-cli-babel-plugin-helpers/-/ember-cli-babel-plugin-helpers-1.1.1.tgz#5016b80cdef37036c4282eef2d863e1d73576879" integrity sha512-sKvOiPNHr5F/60NLd7SFzMpYPte/nnGkq/tMIfXejfKHIhaiIkYFqX8Z9UFTKWLLn+V7NOaby6niNPZUdvKCRw== -ember-cli-babel@^7.0.0, ember-cli-babel@^7.1.3, ember-cli-babel@^7.10.0, ember-cli-babel@^7.13.2, ember-cli-babel@^7.19.0, ember-cli-babel@^7.20.5, ember-cli-babel@^7.21.0, ember-cli-babel@^7.22.1, ember-cli-babel@^7.23.0, ember-cli-babel@^7.23.1, ember-cli-babel@^7.26.0, ember-cli-babel@^7.26.11, ember-cli-babel@^7.26.5, ember-cli-babel@^7.26.6, ember-cli-babel@^7.26.8, ember-cli-babel@^7.7.3: +ember-cli-babel@^7.0.0, ember-cli-babel@^7.1.3, ember-cli-babel@^7.10.0, ember-cli-babel@^7.19.0, ember-cli-babel@^7.20.5, ember-cli-babel@^7.21.0, ember-cli-babel@^7.22.1, ember-cli-babel@^7.23.0, ember-cli-babel@^7.23.1, ember-cli-babel@^7.26.0, ember-cli-babel@^7.26.11, ember-cli-babel@^7.26.5, ember-cli-babel@^7.26.6, ember-cli-babel@^7.26.8, ember-cli-babel@^7.7.3: version "7.26.11" resolved "https://registry.yarnpkg.com/ember-cli-babel/-/ember-cli-babel-7.26.11.tgz#50da0fe4dcd99aada499843940fec75076249a9f" integrity sha512-JJYeYjiz/JTn34q7F5DSOjkkZqy8qwFOOxXfE6pe9yEJqWGu4qErKxlz8I22JoVEQ/aBUO+OcKTpmctvykM9YA== @@ -5440,12 +5478,12 @@ ember-cli-test-info@^1.0.0: dependencies: ember-cli-string-utils "^1.0.0" -ember-cli-test-loader@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/ember-cli-test-loader/-/ember-cli-test-loader-3.0.0.tgz#1c036fc48de36155355fcda3266af63f977826f1" - integrity sha512-wfFRBrfO9gaKScYcdQxTfklx9yp1lWK6zv1rZRpkas9z2SHyJojF7NOQRWQgSB3ypm7vfpiF8VsFFVVr7VBzAQ== +ember-cli-test-loader@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/ember-cli-test-loader/-/ember-cli-test-loader-3.1.0.tgz#13abd43b7e07e2266a9f0fc5b9dc5455883b18ff" + integrity sha512-0aocZV9SIoOHiU3hrH3IuLR6busWhTX6UVXgd490hmJkIymmOXNH2+jJoC7Ebkeo3PiOfAdjqhb765QDlHSJOw== dependencies: - ember-cli-babel "^7.13.2" + ember-cli-babel "^7.23.0" ember-cli-typescript-blueprint-polyfill@^0.1.0: version "0.1.0" @@ -5826,20 +5864,14 @@ ember-power-select@^6.0.1: ember-text-measurer "^0.6.0" ember-truth-helpers "^3.0.0" -ember-qunit@^6.1.1: - version "6.1.1" - resolved "https://registry.yarnpkg.com/ember-qunit/-/ember-qunit-6.1.1.tgz#9e2b7835239e7ffd176e08e536975f66e59f75e5" - integrity sha512-3/jCpoecltFV6vm7GCtSDNRxBzWx96nP+QrbereJAnioSaGeLe+slKL3l80mGzMYDTvn7ESobZ+Ba+OQ1vMMKQ== +ember-qunit@8.0.2: + version "8.0.2" + resolved "https://registry.yarnpkg.com/ember-qunit/-/ember-qunit-8.0.2.tgz#a6346136cba785853f176dfa6ed25e3f0a11b7a0" + integrity sha512-Rf60jeUTWNsF3Imf/FLujW/B/DFmKVXKmXO1lirTXjpertKfwRhp/3MnN8a/U/WyodTIsERkInGT1IqTtphCdQ== dependencies: - broccoli-funnel "^3.0.8" - broccoli-merge-trees "^3.0.2" - common-tags "^1.8.0" - ember-auto-import "^2.4.3" - ember-cli-babel "^7.26.11" - ember-cli-test-loader "^3.0.0" - resolve-package-path "^4.0.3" - silent-error "^1.1.1" - validate-peer-dependencies "^2.1.0" + "@embroider/addon-shim" "^1.8.6" + "@embroider/macros" "^1.13.1" + ember-cli-test-loader "^3.1.0" ember-ref-bucket@^4.0.0: version "4.1.0" @@ -10534,7 +10566,7 @@ resolve-package-path@^3.1.0: path-root "^0.1.1" resolve "^1.17.0" -resolve-package-path@^4.0.0, resolve-package-path@^4.0.1, resolve-package-path@^4.0.3: +resolve-package-path@^4.0.1, resolve-package-path@^4.0.3: version "4.0.3" resolved "https://registry.yarnpkg.com/resolve-package-path/-/resolve-package-path-4.0.3.tgz#31dab6897236ea6613c72b83658d88898a9040aa" integrity sha512-SRpNAPW4kewOaNUt8VPqhJ0UMxawMwzJD8V7m1cJfdSTK9ieZwS6K7Dabsm4bmLFM96Z5Y/UznrpG5kt1im8yA== @@ -11851,14 +11883,6 @@ validate-peer-dependencies@^1.1.0: resolve-package-path "^3.1.0" semver "^7.3.2" -validate-peer-dependencies@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/validate-peer-dependencies/-/validate-peer-dependencies-2.1.0.tgz#1ad8218b1b168aeb500165f9de2a3f53269ece56" - integrity sha512-x+M+mp16g4N+jDQJO6a+AKnMHAViov9mRzYfgMYR6Bq+UTwewf8aTQsP+e1QH0oZrADqP7fuI/bEbl3CzRFhOQ== - dependencies: - resolve-package-path "^4.0.0" - semver "^7.3.2" - vite-plugin-babel@^1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/vite-plugin-babel/-/vite-plugin-babel-1.1.3.tgz#4ce93f573f8f49e1760bce51b07860876f705c76"