mozilla / node-convict

Featureful configuration management library for Node.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Some test don't provide error message (they can fail for other thing)

A-312 opened this issue · comments

commented

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();