Files
react-native-devtools-frontend/test/unittests/front_end/models/emulation
Tim van der Lippe 79095c6c14 Load emulated_devices images using relative URL
Rather than using the module.json structure, use an URL with
import.meta.url to resolve to the relative location for the
images. Since this was the only usage of `substituteURL`, we
can move the function into the model and have separate tests
for it.

R=jacktfranklin@chromium.org

Fixed: 1247149
Change-Id: I734988d15474bf909f8d6d6aa24295eb394481d6
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3144068
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
Commit-Queue: Jack Franklin <jacktfranklin@chromium.org>
Auto-Submit: Tim van der Lippe <tvanderlippe@chromium.org>
Reviewed-by: Jack Franklin <jacktfranklin@chromium.org>
2021-09-07 12:13:43 +00:00
..