From: Olivier Tilloy <olivier.tilloy@canonical.com>
Date: Mon, 8 Mar 2021 19:42:31 +0100
Subject: Install the js/modules subdirectory along with tests.

Origin: https://gitlab.gnome.org/GNOME/gjs/-/commit/1de0c2f3
Bug-GNOME: https://gitlab.gnome.org/GNOME/gjs/-/issues/384
---
 installed-tests/js/meson.build | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/installed-tests/js/meson.build b/installed-tests/js/meson.build
index 15b17d6..dc4777d 100644
--- a/installed-tests/js/meson.build
+++ b/installed-tests/js/meson.build
@@ -170,6 +170,8 @@ foreach test : jasmine_tests
     endif
 endforeach
 
+install_subdir('modules', install_dir: installed_js_tests_dir)
+
 # testGDBus.js is separate, because it can be skipped, and during build should
 # be run using dbus-run-session
 
