Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
A-312 opened this issue Dec 21, 2019 · 0 comments · Fixed by A-312/node-blueconfig#1
Closed

Comments

@A-312
Copy link
Contributor

A-312 commented Dec 21, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant