Chore: Simplify server tests
nictownsend opened this issue · comments
Nic Townsend commented
https://github.com/visionmedia/supertest#api
SuperTest api supports series of basic expectations on the request. It also returns a promise.
As a result - server tests do not need to use async/await
unless they need to perform expectations after the supertest response checks.