mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 00:51:03 +08:00
9525d3506b
We trigger `/topics/timings` requests without ever caring about the promise afterwards, so they can bleed from one test to another. If you're very unlucky, this might happen and then the next test is testing a subfolder, which means you end up with a path like `/forum/topics/timings` which is not caught by pretender and causes the suite to fail. It's easier (and faster) to never send these requests in test mode than to track the ajax requests and abort them between runs. |
||
---|---|---|
.. | ||
assets | ||
controllers | ||
helpers | ||
jobs | ||
mailers | ||
models | ||
serializers | ||
services | ||
views |