node-express-boilerplate
node-express-boilerplate copied to clipboard
Incorrect docs route unit test
The docs unit test ensures that the docs route is not available in production, but fails to properly change the environment to production. As the docs route is also unavailable in the test environment, the test passes. There should also be a test ensuring a 301 status in a development environment.