diff --git a/scripts/error-codes/codes.json b/scripts/error-codes/codes.json index 546f4a2ee0..05888dfb21 100644 --- a/scripts/error-codes/codes.json +++ b/scripts/error-codes/codes.json @@ -141,5 +141,6 @@ "139": "ReactTestRenderer: .update() can't be called after unmount.", "140": "Expected hook events to fire for the child before its parent includes it in onSetChildren().", "141": "Expected onSetChildren() to fire for a container child before its parent includes it in onSetChildren().", - "142": "Expected onBeforeMountComponent() parent and onSetChildren() to be consistent (%s has parents %s and %s)." + "142": "Expected onBeforeMountComponent() parent and onSetChildren() to be consistent (%s has parents %s and %s).", + "143": "React.Children.only expected to receive a single React element child." }