From ea3c55506f940422a652c73f0b507e2e67f73309 Mon Sep 17 00:00:00 2001 From: Ikko Ashimine Date: Mon, 21 Jun 2021 23:01:58 +0900 Subject: [PATCH] Fix typo in VirtualizedList-test.js occured -> occurred --- Libraries/Lists/__tests__/VirtualizedList-test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Libraries/Lists/__tests__/VirtualizedList-test.js b/Libraries/Lists/__tests__/VirtualizedList-test.js index 260a592fe4f008..6d9bbff96cabb2 100644 --- a/Libraries/Lists/__tests__/VirtualizedList-test.js +++ b/Libraries/Lists/__tests__/VirtualizedList-test.js @@ -71,7 +71,7 @@ describe('VirtualizedList', () => { // Silence the React error boundary warning; we expect an uncaught error. const consoleError = console.error; jest.spyOn(console, 'error').mockImplementation(message => { - if (message.startsWith('The above error occured in the ')) { + if (message.startsWith('The above error occurred in the ')) { return; } consoleError(message); @@ -393,7 +393,7 @@ describe('VirtualizedList', () => { const errors = []; jest.spyOn(console, 'error').mockImplementation((...args) => { // Silence the DEV-only React error boundary warning. - if ((args[0] || '').startsWith('The above error occured in the ')) { + if ((args[0] || '').startsWith('The above error occurred in the ')) { return; } errors.push(args);