node-express-boilerplate icon indicating copy to clipboard operation
node-express-boilerplate copied to clipboard

Incorrect docs route unit test

Open meme8383 opened this issue 1 year ago • 0 comments

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.

meme8383 avatar Nov 09 '23 22:11 meme8383