Open aminalakhsham opened 5 years ago
https://github.com/GSG-G7/whats-going-on/blob/fd3f321bef92e1c97e6ad7c748c5f6a9d032e9ff/tests/server_tests/errorhandling.test.js#L13
you check status code twice in expect() and in end() you must test static things you expected in test
https://github.com/GSG-G7/whats-going-on/blob/fd3f321bef92e1c97e6ad7c748c5f6a9d032e9ff/tests/server_tests/errorhandling.test.js#L13
you check status code twice in expect() and in end() you must test static things you expected in test