SIGN IN SIGN UP
facebook / react-native UNCLAIMED

A framework for building native applications using React

0 0 0 C++

Automatically inject debugger statements in tests in preparation for debug mode (#53205)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/53205

Changelog: [internal]

This injects a custom Babel transform for Fantom tests that automatically injects `debugger` statements in the generated code. This simplifies debugging by providing a default interruption point in the test setup for the test author to decide what to debug.

This has no effect unless the debugger is opened, which isn't happening yet.

Reviewed By: rshest

Differential Revision: D79996000

fbshipit-source-id: 6153587264d293a067e359edba4f64f41898c506
R
Rubén Norte committed
9c201c0f8fe68a89a737aa520e2cb195b1b68e82
Parent: 4978385
Committed by Facebook GitHub Bot <[email protected]> on 8/12/2025, 12:41:11 PM