1c3c5b744c
Three of the four tests fail if `settings.allowAnyoneToImport` is false. The fourth ("tries to import Plain Text to a pad that does not exist") isn't particularly useful when `settings.allowAnyoneToImport` is false: That test tests an import failure mode, and when `settings.allowAnyoneToImport` is false the failure could be caused by that instead of the expected cause. |
||
---|---|---|
.. | ||
backend | ||
container | ||
frontend | ||
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