Commit 59a531d
committed
Fix 404 errors when running tests with NODE_ENV=test
production_safety_test.js requires tests to run with NODE_ENV set to
`test`. The /test endpoint was previously only enabled with NODE_ENV set
to `development` which results in the api3 security tests failing with 404
errors. Instead, enable it for NODE_ENV set to `test`.1 parent 6b59dfc commit 59a531d
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
0 commit comments