Describe the feature:
Monaco has two key trigger kinds. One is used when the user enters a particular trigger character. The other (Invoke) is used in default scenarios (for example, the user enters the first character of a word).
It's important that we cover both cases in our autocomplete tests.
To make this easier, we could consider automatically testing the "Invoke" case when a trigger character is tested. So, if I test a trigger character:
Describe the feature: Monaco has two key trigger kinds. One is used when the user enters a particular trigger character. The other (Invoke) is used in default scenarios (for example, the user enters the first character of a word).
It's important that we cover both cases in our autocomplete tests.
To make this easier, we could consider automatically testing the "Invoke" case when a trigger character is tested. So, if I test a trigger character:
Under the hood, the test framework will test the Invoke trigger as well.
This assumes that the suggestions are expected to be the same for either trigger. I haven't yet seen a case where this is not true.