mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-16 03:25:20 +08:00
This CL changes the test helpers that encode the source map scopes proposal. Rathern than passing indices into the "names" array, we now pass the "names" array to the builder constructor and the builders handle resolving indices internally themselves. This makes builder code slightly more readable for original scope names, original variable names and binding expressions. R=pfaffe@chromium.org Bug: 40277685 Change-Id: I810dd81b22c4223d4585a7ca3c8db48160b1b52c Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/5713234 Commit-Queue: Simon Zünd <szuend@chromium.org> Reviewed-by: Philip Pfaffe <pfaffe@chromium.org>
This folder contains helpers for writing Karma unit tests, most of which exist to help render and test components.
See the unit testing documentation for more information.