Scripts: remove checked-in debugger; statements (#49289)

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

These snuck in, presumably accidentally, via https://github.com/facebook/react-native/pull/49164.

This interferes with running test suites with a debugger connected (e.g, when debugging Jest itself).

(Aside: we should probably enable [`eslint/no-debugger`](https://eslint.org/docs/latest/rules/no-debugger) to catch these)

Changelog: [Internal]

Reviewed By: hoxyq

Differential Revision: D69377992

fbshipit-source-id: 5d51d18be76f9b01852b2e5b7297b95452f36d55
This commit is contained in:
Rob Hogan
2025-02-10 00:52:43 -08:00
committed by Facebook GitHub Bot
parent b45a3e5cd8
commit 47a21740cd
2 changed files with 0 additions and 2 deletions
@@ -83,7 +83,6 @@ describe('#verifyPublishedPackage', () => {
.mockImplementation(() => {
throw new Error('Should not be called again!');
});
debugger;
await verifyPublishedPackage(REACT_NATIVE_PACKAGE, version, 'next');
expect(mockGetNpmPackageInfo).toHaveBeenCalledWith(
@@ -18,7 +18,6 @@ async function verifyPublishedPackage(
tag = null,
retries = MAX_RETRIES,
) {
debugger;
log(`🔍 Is ${packageName}@${version} on npm?`);
let count = retries;