Skip to content

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

Closed
A-312/node-blueconfig
#1
@A-312

Description

@A-312

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions