etherpad-lite/src/tests
Richard Hansen e124923a3b express: Move preAuthorize hook after express-session
The `ep_openid_connect` plugin needs access to session state before
authorization checks are made (to securely redirect the user back to
the start page when authentication completes). Now that the
`expressPreSession` hook exists, the rationale for moving
`preAuthorize` before the `express-session` middleware is gone.

This change undoes the following commits:
  * bf35dcfc50
  * 0b1ec20c5c
  * 30544b564e
2022-01-12 20:02:25 -05:00
..
backend express: Move preAuthorize hook after express-session 2022-01-12 20:02:25 -05:00
container restructure: move bin/ and tests/ to src/ 2021-02-04 17:15:08 -05:00
frontend tests: Disable deprecation warnings when testing deprecated functions 2021-12-31 22:15:03 -05:00
ratelimit restructure: Prefix bin/ and tests/ with src/ 2021-02-05 21:52:08 +00:00
README.md restructure: move bin/ and tests/ to src/ 2021-02-04 17:15:08 -05:00

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