DEV: Fix pending posts page, make tests work in legacy env (#15132)

* Running the tests only in the ember cli env hid the fact that the pending posts feature wasn't working in the legacy environment
* Tests were using ember-cli-only APIs while there are widely used testing APIs in Discourse that support both ember envs
* `ember-test-selectors` was in both dependencies and devDependencies in discourse/package.json
* `qunit-dom` in package.json was not only unused but also defunct, as it wasn't pulled into the legacy env app

A followup to #14501, and #15128.
This commit is contained in:
Jarek Radosz
2021-11-30 13:01:39 +01:00
committed by GitHub
parent fced35de15
commit 24356e339b
7 changed files with 55 additions and 79 deletions

View File

@@ -55,7 +55,6 @@
"pretender": "^3.4.7",
"puppeteer": "1.20",
"qunit": "2.8.0",
"qunit-dom": "^2.0.0",
"route-recognizer": "^0.3.3",
"sinon": "^9.0.2",
"squoosh": "discourse/squoosh#dc9649d"