etherpad-lite/tests
muxator b34fc2de2b use Date.now() instead of new Date().getTime()
This is documented to be more performant.

The substitution was made on frontend code, too (i.e., the one in /static),
because Date.now() is supported since IE 9, and we are life supporting only
IE 11.

Commands:
  find . -name *.js | xargs sed --in-place "s/new Date().getTime()/Date.now()/g"
  find . -name *.js | xargs sed --in-place "s/(new Date()).getTime()/Date.now()/g"

Not done on jQuery.
2019-02-26 23:25:15 +01:00
..
backend node8: we can safely use os.tmpdir() 2019-02-19 22:01:12 +01:00
frontend use Date.now() instead of new Date().getTime() 2019-02-26 23:25:15 +01:00
README.md tests: backend tests are now run with "npm test" instead of a custom bash script 2018-07-28 23:54:51 +02: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