This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse/tests
David Taylor 7fa2eb52f7
DEV: Destroy application instance after each test (#14455)
Under Ember CLI, we create a new application instance for each test. We were not correctly destroying it after the test, causing many references to be maintaned (e.g. at the end of a test run, `Ember.Namespace.NAMESPACES` would have an entry for each application instance).

Calling `destroy` on the application instance tidies up these references, and is one step towards fixing our test memory leak problem. Unfortunately there still seem to be other references being held to the application, so this commit is not a total fix.
2021-09-28 11:37:40 +01:00
..
acceptance PERF: Revert all inboxes from messages route. (#14445) 2021-09-28 11:58:04 +08:00
fixtures FEATURE: Topic-level bookmarks (#14353) 2021-09-21 08:45:47 +10:00
helpers DEV: Fix flaky search-full-page test (#14421) 2021-09-22 15:05:00 -04:00
integration FIX: more robust tabindex restriction on preview (#14425) 2021-09-23 16:27:51 +02:00
unit FEATURE: add update banner to the categories and latest topics view (#14403) 2021-09-21 12:35:38 -04:00
core_plugins_tests.js FEATURE: Allow theme tests to be run in production (take 2) (#12845) 2021-04-28 23:12:08 +03:00
index.html DEV: Allow plugin tests to run in Ember CLI qunit 2021-06-24 10:13:35 -04:00
plugin_tests.js.erb FIX: Load .js files from plugins in qunit testing env (#11304) 2020-12-03 10:25:42 -06:00
setup-tests.js DEV: Destroy application instance after each test (#14455) 2021-09-28 11:37:40 +01:00
test_helper.js DEV: Move pretty-text into vendor and use that (#13273) 2021-06-04 11:01:59 -04:00
test_starter.js DEV: Use key over the deprecated keyCode (#13795) 2021-08-09 11:41:36 +02:00
test-helper.js DEV: avoids using document.write (#13858) 2021-07-27 14:42:21 +02:00
theme_qunit_ember_jquery.js FIX: Theme tests should work in production (#13333) 2021-06-08 22:03:59 +03:00
theme_qunit_helper.js DEV: Arrange theme QUnit dependencies in the right order (#12907) 2021-04-30 13:28:33 +03:00
theme_qunit_tests_vendor.js FIX: Theme tests should work in production (#13333) 2021-06-08 22:03:59 +03:00
theme_qunit_vendor.js DEV: uses forked Mousetrap to avoid leaking listeners (#14198) 2021-09-08 14:48:13 +02:00