16b0768a93
The `helper.waitFor()` function returns a jQuery Deferred object. Deferred objects are supposed to have a `.fail()` method that is chainable (it should return `this`). Before this change, `helper.waitFor()` monkey-patched the `.fail()` method with a function that returned `undefined`. Now the monkey-patched `.fail()` returns the Deferred object. Also modernize the code a bit. |
||
---|---|---|
.. | ||
backend | ||
container | ||
frontend | ||
ratelimit | ||
README.md |
About this folder: Tests
Before running the tests, start an Etherpad instance on your machine.
Frontend
To run the frontend tests, point your browser to <yourdomainhere>/tests/frontend
Backend
To run the backend tests, run cd src
and then npm test