Fix warning on scripts/releases-ci/__tests__/publish-updated-packages-test.js (#45643)

Summary:
This just fixes a warning in scripts/releases-ci/__tests__/publish-updated-packages-test.js that the CI is firing on every PR

## Changelog:

[INTERNAL] - Fix warning on scripts/releases-ci/__tests__/publish-updated-packages-test.js

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

Test Plan: CI

Reviewed By: blakef

Differential Revision: D60170227

Pulled By: cortinico

fbshipit-source-id: 5889f7dd530cc00651d683001e1f2624bd79c27e
This commit is contained in:
Nicola Corti 2024-07-24 12:41:00 -07:00 committed by Facebook GitHub Bot
parent 4cc46e3ca6
commit cb6ea49123

View File

@ -43,9 +43,7 @@ describe('publishUpdatedPackages', () => {
throw new Error();
}
});
const consoleError = jest
.spyOn(console, 'error')
.mockImplementation(() => {});
jest.spyOn(console, 'error').mockImplementation(() => {});
let message = '';
try {