don't test external early-access in unit tests (#26612)
* don't test external early-access in unit tests * make the rendering tests less weird && gg push
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { uniq } from 'lodash-es'
|
||||
|
||||
export default function earlyAccessContext(req, res, next) {
|
||||
if (process.env.NODE_ENV === 'production') {
|
||||
if (process.env.NODE_ENV !== 'development') {
|
||||
return next(404)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user