DEV: Update `@ember/test-helpers` and fix chat test (#19495)

We were triggering a `/` key press and it was passing because of 1. a bug in `@ember/test-helpers` and 2. how we handle events in chat

Dependabot PR description:

Build(deps): Bump @ember/test-helpers in /app/assets/javascripts

Bumps [@ember/test-helpers](https://github.com/emberjs/ember-test-helpers) from 2.8.1 to 2.9.1.
- [Release notes](https://github.com/emberjs/ember-test-helpers/releases)
- [Changelog](https://github.com/emberjs/ember-test-helpers/blob/master/CHANGELOG.md)
- [Commits](https://github.com/emberjs/ember-test-helpers/compare/v2.8.1...v2.9.1)

---
updated-dependencies:
- dependency-name: "@ember/test-helpers"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jarek Radosz <jradosz@gmail.com>
This commit is contained in:
dependabot[bot] 2022-12-19 11:23:31 +01:00 committed by GitHub
parent 4ea6b09fc7
commit c5957490df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 21 additions and 49 deletions

View File

@ -24,7 +24,7 @@
"@ember/jquery": "^2.0.0", "@ember/jquery": "^2.0.0",
"@ember/optional-features": "^2.0.0", "@ember/optional-features": "^2.0.0",
"@ember/render-modifiers": "^2.0.4", "@ember/render-modifiers": "^2.0.4",
"@ember/test-helpers": "^2.8.1", "@ember/test-helpers": "^2.9.1",
"@glimmer/component": "^1.1.2", "@glimmer/component": "^1.1.2",
"@glimmer/syntax": "^0.84.2", "@glimmer/syntax": "^0.84.2",
"@glimmer/tracking": "^1.1.2", "@glimmer/tracking": "^1.1.2",

View File

@ -1062,18 +1062,18 @@
ember-cli-babel "^7.26.11" ember-cli-babel "^7.26.11"
ember-modifier-manager-polyfill "^1.2.0" ember-modifier-manager-polyfill "^1.2.0"
"@ember/test-helpers@^2.8.1": "@ember/test-helpers@^2.9.1":
version "2.8.1" version "2.9.1"
resolved "https://registry.yarnpkg.com/@ember/test-helpers/-/test-helpers-2.8.1.tgz#20f2e30d48172c2ff713e1db7fbec5352f918d4e" resolved "https://registry.yarnpkg.com/@ember/test-helpers/-/test-helpers-2.9.1.tgz#142a8d5175fc79bb328b7af0cd36755c10181050"
integrity sha512-jbsYwWyAdhL/pdPu7Gb3SG1gvIXY70FWMtC/Us0Kmvk82Y+5YUQ1SOC0io75qmOGYQmH7eQrd/bquEVd+4XtdQ== integrity sha512-1ZFZCnNfkXcQOf6Vxep/vbZMwFLfD+8heiLiQ6LSB5SY9F3VCF1yNslfgtDqmyQZXhAbbhRTDhy+rHuzzpd+yA==
dependencies: dependencies:
"@ember/test-waiters" "^3.0.0" "@ember/test-waiters" "^3.0.0"
"@embroider/macros" "^1.6.0" "@embroider/macros" "^1.10.0"
"@embroider/util" "^1.6.0" "@embroider/util" "^1.9.0"
broccoli-debug "^0.6.5" broccoli-debug "^0.6.5"
broccoli-funnel "^3.0.8" broccoli-funnel "^3.0.8"
ember-cli-babel "^7.26.6" ember-cli-babel "^7.26.11"
ember-cli-htmlbars "^5.7.1" ember-cli-htmlbars "^6.1.1"
ember-destroyable-polyfill "^2.0.3" ember-destroyable-polyfill "^2.0.3"
"@ember/test-waiters@^3.0.0": "@ember/test-waiters@^3.0.0":
@ -1095,12 +1095,12 @@
broccoli-funnel "^3.0.8" broccoli-funnel "^3.0.8"
semver "^7.3.8" semver "^7.3.8"
"@embroider/macros@1.8.3": "@embroider/macros@^1.0.0", "@embroider/macros@^1.10.0", "@embroider/macros@^1.8.3", "@embroider/macros@^1.9.0":
version "1.8.3" version "1.10.0"
resolved "https://registry.yarnpkg.com/@embroider/macros/-/macros-1.8.3.tgz#2f0961ab8871f6ad819630208031d705b357757e" resolved "https://registry.yarnpkg.com/@embroider/macros/-/macros-1.10.0.tgz#af3844d5db48f001b85cfb096c76727c72ad6c1e"
integrity sha512-gnIOfTL/pUkoD6oI7JyWOqXlVIUgZM+CnbH10/YNtZr2K0hij9eZQMdgjOZZVgN0rKOFw9dIREqc1ygrJHRYQA== integrity sha512-LMbfQGk/a+f6xtvAv5fq/wf2LRxETnbgSCLUf/z6ebzmuskOUxrke+uP55chF/loWrARi9g6erFQ7RDOUoBMSg==
dependencies: dependencies:
"@embroider/shared-internals" "1.8.3" "@embroider/shared-internals" "2.0.0"
assert-never "^1.2.1" assert-never "^1.2.1"
babel-import-util "^1.1.0" babel-import-util "^1.1.0"
ember-cli-babel "^7.26.6" ember-cli-babel "^7.26.6"
@ -1109,35 +1109,7 @@
resolve "^1.20.0" resolve "^1.20.0"
semver "^7.3.2" semver "^7.3.2"
"@embroider/macros@^1.0.0", "@embroider/macros@^1.6.0", "@embroider/macros@^1.8.3": "@embroider/shared-internals@2.0.0", "@embroider/shared-internals@^2.0.0":
version "1.9.0"
resolved "https://registry.yarnpkg.com/@embroider/macros/-/macros-1.9.0.tgz#0df2a56fdd93f11fddea450b6ca83cc2119b5008"
integrity sha512-12ElrRT+mX3aSixGHjHnfsnyoH1hw5nM+P+Ax0ITZdp6TaAvWZ8dENnVHltdnv4ssHiX0EsVEXmqbIIdMN4nLA==
dependencies:
"@embroider/shared-internals" "1.8.3"
assert-never "^1.2.1"
babel-import-util "^1.1.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@1.8.3":
version "1.8.3"
resolved "https://registry.yarnpkg.com/@embroider/shared-internals/-/shared-internals-1.8.3.tgz#52d868dc80016e9fe983552c0e516f437bf9b9f9"
integrity sha512-N5Gho6Qk8z5u+mxLCcMYAoQMbN4MmH+z2jXwQHVs859bxuZTxwF6kKtsybDAASCtd2YGxEmzcc1Ja/wM28824w==
dependencies:
babel-import-util "^1.1.0"
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@^2.0.0":
version "2.0.0" version "2.0.0"
resolved "https://registry.yarnpkg.com/@embroider/shared-internals/-/shared-internals-2.0.0.tgz#d8205ec6944362aeecfbb51143db352430ced316" resolved "https://registry.yarnpkg.com/@embroider/shared-internals/-/shared-internals-2.0.0.tgz#d8205ec6944362aeecfbb51143db352430ced316"
integrity sha512-qZ2/xky9mWm5YC6noOa6AiAwgISEQ78YTZNv4SNu2PFgEK/H+Ha/3ddngzGSsnXkVnIHZyxIBzhxETonQYHY9g== integrity sha512-qZ2/xky9mWm5YC6noOa6AiAwgISEQ78YTZNv4SNu2PFgEK/H+Ha/3ddngzGSsnXkVnIHZyxIBzhxETonQYHY9g==
@ -1159,12 +1131,12 @@
lodash "^4.17.21" lodash "^4.17.21"
resolve "^1.20.0" resolve "^1.20.0"
"@embroider/util@^1.6.0": "@embroider/util@^1.9.0":
version "1.8.3" version "1.9.0"
resolved "https://registry.yarnpkg.com/@embroider/util/-/util-1.8.3.tgz#7267a2b6fcbf3e56712711441159ab373f9bee7a" resolved "https://registry.yarnpkg.com/@embroider/util/-/util-1.9.0.tgz#331c46bdf106c44cb1dd6baaa9030d322c13cfca"
integrity sha512-FvsPzsb9rNeveSnIGnsfLkWWBdSM5QIA9lDVtckUktRnRnBWZHm5jDxU/ST//pWMhZ8F0DucRlFWE149MTLtuQ== integrity sha512-9I63iJK6N01OHJafmS/BX0msUkTlmhFMIEmDl/SRNACVi0nS6QfNyTgTTeji1P/DALf6eobg/9t/N4VhS9G9QA==
dependencies: dependencies:
"@embroider/macros" "1.8.3" "@embroider/macros" "^1.9.0"
broccoli-funnel "^3.0.5" broccoli-funnel "^3.0.5"
ember-cli-babel "^7.23.1" ember-cli-babel "^7.23.1"

View File

@ -899,7 +899,7 @@ Widget.triangulate(arg: "test")
assert.equal(document.activeElement, composer); assert.equal(document.activeElement, composer);
document.activeElement.blur(); document.activeElement.blur();
await triggerKeyEvent(document.body, "keydown", 191); // 191 is `?` await triggerKeyEvent(document.body, "keydown", "?", { shiftKey: true });
assert.notEqual( assert.notEqual(
document.activeElement, document.activeElement,
composer, composer,