mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-01 01:38:07 +08:00
The part that takes a lot of time in running unit tests is actually spinning up the browser and connecting to it. `watch-unittests` command starts the file watcher for Karma test runner which runs the tests on file change. You can use this without `watch` script and by just rebuilding the target. When combined with `watch` command, this enables you to run unit tests instantly after a file change. Bug: none Change-Id: Icd71230b5b455254dc25b4cef5f6ae72c5dbba06 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/5012787 Commit-Queue: Simon Zünd <szuend@chromium.org> Auto-Submit: Ergün Erdoğmuş <ergunsh@chromium.org> Reviewed-by: Simon Zünd <szuend@chromium.org>