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
Joffrey JAFFEUX 68a032a734
DEV: prevents test timeout (#12631)
Clock manipulation seems not reliable in component tests. This blog post does a great job of explaining it: https://dockyard.com/blog/2018/04/18/bending-time-in-ember-tests

Sadly, we don't have all the "recent" ember test helpers and can't use things like `getSettledState()`.

For now this pattern seems the most reliable and easy to apply, albeit not great.

Note if you wish to reproduce the current timeout, the following command should do it: `QUNIT_SEED=215263717493121190480103670124734840282 rake qunit:test`
2021-04-07 15:50:06 +02:00
..
acceptance DEV: add JS test for topic bulk action modal (#12621) 2021-04-07 06:34:36 +05:30
fixtures UX: move logs/watched_words to customize/watched_words in admin section (#12571) 2021-04-01 11:44:17 +05:30
helpers FEATURE: Move site updated modal into a less obtrusive prompt (#12577) 2021-04-07 08:56:48 +10:00
integration DEV: prevents test timeout (#12631) 2021-04-07 15:50:06 +02:00
unit FEATURE: Add anchor links to headings (#12379) 2021-03-23 10:45:06 +02:00
index.html Support for Testem in Ember CLI (#12442) 2021-03-19 09:32:46 -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 FEATURE: Introduce theme/component QUnit tests (#12517) 2021-04-07 10:39:57 +03:00
test_helper.js FEATURE: Introduce theme/component QUnit tests (#12517) 2021-04-07 10:39:57 +03:00
test_starter.js FEATURE: Introduce theme/component QUnit tests (#12517) 2021-04-07 10:39:57 +03:00
test-helper.js DEV: Make dockcontainer and hidepassed the defaults (#12416) 2021-03-16 14:34:59 -04:00