discourse/test/javascripts
Robin Ward a8793d0d9a REFACTOR: Test Memory Usage Fixes (#7769)
* Calling `Discourse.reset()` creates a new container
We should run our de-initializers only after acceptance tests,
since initializers are not run outside of acceptance tests anyway,
and the container at this point can be passed properly to the
`teardown()` method.

* Remove `Discourse.reset` from tests
This would cause a new container to be created which leaks many objects.

* `updateCurrentUser` is more accurate than `replaceCurrentUser`
2019-06-14 14:54:20 +02:00
..
acceptance REFACTOR: Test Memory Usage Fixes (#7769) 2019-06-14 14:54:20 +02:00
admin DEV: refactors select-kit helper to prevent it to leak into global state (#7708) 2019-06-06 10:47:10 +02:00
components DEV: Fix linting error 2019-06-12 00:19:52 +01:00
controllers FIX: Make select all and below skip small actions. (#7425) 2019-05-06 16:22:11 +03:00
ember DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
fixtures DEV: test badge titles presence on badge page 2019-06-12 15:04:21 +02:00
helpers REFACTOR: Test Memory Usage Fixes (#7769) 2019-06-14 14:54:20 +02:00
initializers DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
lib REFACTOR: Test Memory Usage Fixes (#7769) 2019-06-14 14:54:20 +02:00
mixins DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
models FIX: Do not live-load posts from ignored users 2019-06-11 12:07:14 +01:00
widgets FIX: Broken test, also typoed property 2019-05-30 14:27:28 -04:00
plugin_tests.js.erb Support for Acceptance tests in plugins 2015-08-27 17:07:11 -04:00
test_helper.js REFACTOR: Test Memory Usage Fixes (#7769) 2019-06-14 14:54:20 +02:00