mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 20:54:00 -06:00
072faa08bb
`run-qunit.js` does not expect QUnit tests to start automatically but our wizard QUnit setup did not respect the `qunit_disable_auto_start` URL param. Hence, tests would start running automatically and when a subsequent `QUnit.start()` function call is made, we ended up getting a `QUnit.start cannot be called inside a test context.` error. This error can be consistently reproduced in the `discourse:discourse_test` container but not in the local development environment. I do not know why and did not feel like it is important at this point in time to know why. |
||
---|---|---|
.. | ||
components | ||
controllers | ||
initializers | ||
lib | ||
mixins | ||
models | ||
routes | ||
templates | ||
test | ||
router.js | ||
wizard.js |