In my PR #342, I saw some tests which don't provide error message like this : .must.not.throw(); Then they can failed for other thing and not for format validate. (Like undefined variable in npm convict code...) instead of : 'must be a prime number: value was 16'.
|
(function() { conf.validate(); }).must.throw(); |