mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 20:01:11 +08:00
68a032a734
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` |
||
---|---|---|
.. | ||
images | ||
javascripts | ||
stylesheets |