mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-31 02:13:36 +08:00
The e2e-tests now use the build output in resources/inspector in the out directory. This allows us to introduce TypeScript-authored files in the source directory `front_end`, which will get compiled into resourc/inspector. After to making a change to a e2e-test or the front_end, you need to rebuild Devtools, after which you can run `npm run e2etest` as normal. Since we now use the build output, this also means that you can run the e2e-tests on the release build. In other words, if you build DevTools with build optimizations (such as Rollup), the e2e-tests will now use the output (and thus provide test coverage). DISABLE_THIRD_PARTY_CHECK=Node fixes R=aerotwist@chromium.org,jacktfranklin@chromium.org Fixed: 1088463 Change-Id: I02ec3c2476bc3647158fede9e1d347963b3a720a Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2224809 Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org> Reviewed-by: Jose Leal <joselea@microsoft.com> Reviewed-by: Paul Lewis <aerotwist@chromium.org> Reviewed-by: Jack Franklin <jacktfranklin@chromium.org>