Write g-i regression tests for flags and enum values with gaps
The following discussion from !829 (merged) should be addressed:
Speaking of testing, it would be fabulous if we could have regression tests for this so that future updates don't break it. (To be clear, I don't think that needs to block merging this.) It's unfortunately a complicated process which would involve:
- Adding something like https://gitlab.gnome.org/-/snippets/4407 to the g-i regression test suite although it probably wouldn't use
GdkEventType
andGtkConstraintStrength
directly but instead create new flags/enum types.- Writing the corresponding tests in GJS's installed test suite that check for the correct behaviour.
- Disabling those tests with something like
.pend('https://URL of the g-i merge request')
until g-i has made a stable release.- Once g-i makes a stable release, bumping the optional dependency version of g-i in GJS and un-disabling the tests.