Skip to content

Fix typo: occured -> occurred (test comment)#666

Open
everettbu wants to merge 1 commit into
mainfrom
fix/typo-occured-2
Open

Fix typo: occured -> occurred (test comment)#666
everettbu wants to merge 1 commit into
mainfrom
fix/typo-occured-2

Conversation

@everettbu

Copy link
Copy Markdown

Mirror of facebook/react#35970
Original author: Rohan5commit


Summary

Fixes a typo in a comment in packages/react-reconciler/src/__tests__/ReactAsyncActions-test.js: "occured" -> "occurred"

How did you test this change?

This is a single-character typo fix in a comment. No code behavior changes.

Related issue

N/A - trivial typo fix

@greptile-apps

greptile-apps Bot commented Mar 6, 2026

Copy link
Copy Markdown

Greptile Summary

Fixes a single-character typo in a test file comment (ReactAsyncActions-test.js), correcting "occured" to "occurred". No code logic or behavior is affected.

  • Corrects spelling of "occurred" in a regression test comment at line 1703
  • Note: the same typo ("occured") also exists in packages/react-devtools-shared/src/devtools/views/ErrorBoundary/ErrorBoundary.js:159, but in a user-facing error message string rather than a comment — worth fixing in a follow-up

Confidence Score: 5/5

  • This PR is completely safe to merge — it changes a single character in a code comment with zero behavioral impact.
  • The change is a trivial one-character typo fix in a comment within a test file. There is no risk of regression or unintended side effects.
  • No files require special attention.

Important Files Changed

Filename Overview
packages/react-reconciler/src/tests/ReactAsyncActions-test.js Single-character typo fix in a comment: "occured" → "occurred". No behavior change.

Last reviewed commit: 4d04015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants