gnome-shell/tests/unit
Florian Müllner 9546860d05 tests/unit: Access shell sources from resource
Unit tests currently load shell sources directly from the
filesystem.

This is currently blocking generated sources - namely config.js - to
ESM, because a relative import from the source dir will fail to
locate the file in the build dir.

Address this by using the same GResource as gnome-shell instead of
direct filesystem access, as the resource will always include all
sources files at the expected location.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2880>
2023-08-10 17:42:23 +00:00
..
highlighter.js tests/unit: Access shell sources from resource 2023-08-10 17:42:23 +00:00
injectionManager.js tests/unit: Access shell sources from resource 2023-08-10 17:42:23 +00:00
insertSorted.js tests/unit: Access shell sources from resource 2023-08-10 17:42:23 +00:00
jsParse.js tests/unit: Access shell sources from resource 2023-08-10 17:42:23 +00:00
markup.js tests/unit: Access shell sources from resource 2023-08-10 17:42:23 +00:00
params.js tests/unit: Access shell sources from resource 2023-08-10 17:42:23 +00:00
signalTracker.js tests/unit: Access shell sources from resource 2023-08-10 17:42:23 +00:00
url.js tests/unit: Access shell sources from resource 2023-08-10 17:42:23 +00:00
versionCompare.js tests/unit: Access shell sources from resource 2023-08-10 17:42:23 +00:00