mirror of
https://github.com/facebook/react-native.git
synced 2024-11-21 22:10:14 +00:00
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:
parent
4cc46e3ca6
commit
cb6ea49123
@ -43,9 +43,7 @@ describe('publishUpdatedPackages', () => {
|
||||
throw new Error();
|
||||
}
|
||||
});
|
||||
const consoleError = jest
|
||||
.spyOn(console, 'error')
|
||||
.mockImplementation(() => {});
|
||||
jest.spyOn(console, 'error').mockImplementation(() => {});
|
||||
|
||||
let message = '';
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user