This looks like it’ll do: meson.build · main · GNOME / gobject-introspection-tests · GitLab
Here’s an updated sample branch of GJS using the repo as a submodule: WIP - gobject-introspection-tests (e088723f) · Commits · Philip Chimento / gjs · GitLab
I guess the next step is to get that draft MR landed in gobject-introspection.