SIGN IN SIGN UP

A set of best practices for JavaScript projects

0 0 77 JavaScript

Use valid instead of allow in configWithTest (#101)

The current validation using `allow` will allow any kind of string, not only the specified ones. 
`NODE_ENV=foo` is totally valid. Using `valid` instead should fix this.
R
René Herrmann committed
3ecb3d21db10d632f97bbb7abd9ed44200966431
Parent: 0746396
Committed by Vahid Panjganj <vahid@wearehive.co.uk> on 10/19/2017, 10:19:46 PM