Files
habitica/test/api/v3
Travis 1a409848a8 allow flagging the post of a deleted user (#7897)
* Allowing the flagging of messages that were written by user accounts that have since been deleted

* replacing ternary operator with else if, else paradigm

* formatting fixes

* fixing message in tests
2016-08-15 22:14:52 -05:00
..
2016-05-23 13:58:31 +02:00

How to run tests:

  1. npm test is equivalent to gulp test:api-v3 which will run, in order, gulp lint, gulp test:api-v3:unit and gulp test:api-v3:integration. If one of these fails, the whole npm test command blocks and fails. Each of these commands can also be run as a standalone command.
  2. To run the server and the integrations tests in two different terminals (to better inspect the output in the server) run npm start in one and npm test:api-v3:integration:separate-server in the other