Please sign in to comment.
Update: improve suggestion testing experience (#12602)
Previously you had to explicitly pass the exact same value (undefined), which meant either explicitly set `suggestions: undefined`, or omit the property. I hate writing `undefined`, but I prefer to be explicit in my tests and say "I expect no suggestions". Now you can pass any falsey, or an empty array, and the rule tester will perform as expected.
- Loading branch information
Showing with 25 additions and 19 deletions.