Compare commits

...
Author SHA1 Message Date
Rob HoganandFacebook GitHub Bot a19fd24132 Scripts: remove checked-in debugger; statements
Summary:
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]

Differential Revision: D69377992
2025-02-09 16:47:39 -08:00
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;