Skip to content

Commit

Permalink
Fix typo in VirtualizedList-test.js (#31756)
Browse files Browse the repository at this point in the history
Summary:
occured -> occurred

## Changelog

<!-- Help reviewers and the release process by writing your own changelog entry. For an example, see:
https://github.com/facebook/react-native/wiki/Changelog
-->

[Internal] [Fixed] - Fixed typo in VirtualizedList-test.js

Pull Request resolved: #31756

Test Plan: NONE

Reviewed By: lunaleaps

Differential Revision: D29975153

Pulled By: charlesbdudley

fbshipit-source-id: 966d90df0bf015b4a6a2e3b1bf88c66b61161a7a
  • Loading branch information
eltociear authored and facebook-github-bot committed Jul 29, 2021
1 parent f1b1ba8 commit 8b1b7f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Libraries/Lists/__tests__/VirtualizedList-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -415,7 +415,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);
Expand Down

0 comments on commit 8b1b7f7

Please sign in to comment.