diff --git a/scripts/releases-ci/__tests__/publish-updated-packages-test.js b/scripts/releases-ci/__tests__/publish-updated-packages-test.js index fdb751b23396..da5e35fd5bab 100644 --- a/scripts/releases-ci/__tests__/publish-updated-packages-test.js +++ b/scripts/releases-ci/__tests__/publish-updated-packages-test.js @@ -43,9 +43,7 @@ describe('publishUpdatedPackages', () => { throw new Error(); } }); - const consoleError = jest - .spyOn(console, 'error') - .mockImplementation(() => {}); + jest.spyOn(console, 'error').mockImplementation(() => {}); let message = ''; try {