This repository has been archived by the owner on Jul 15, 2023. It is now read-only.
chai-vague-errors should check 2nd expect arg for an error description #207
Labels
Difficulty: Medium
People with non-trivial experience in TSLint should be able to send a pull request for this issue.
Status: Accepting PRs
Type: Rule Feature
Adding a feature to an existing rule.
Milestone
It's possible to specify a custom error message via the second arg to
expect()
But
chai-vague-errors
producesFound chai call with vague failure message. Please add an explicit failure message
With the 2nd arg messages, we can continue to use the fluent chai syntax:
without having to resort to:
So, should
chai-vague-errors
accommodate 2nd arg messages?The text was updated successfully, but these errors were encountered: