@@ -153,6 +153,8 @@ src/isomorphic/children/__tests__/sliceChildren-test.js
153
153
src/isomorphic/classic/__tests__/ReactContextValidator-test.js
154
154
* should filter out context not in contextTypes
155
155
* should pass next context to lifecycles
156
+ * should check context types
157
+ * should check child context types
156
158
157
159
src/isomorphic/classic/class/__tests__/ReactBind-test.js
158
160
* Holds reference to instance
@@ -266,20 +268,24 @@ src/isomorphic/classic/element/__tests__/ReactElementClone-test.js
266
268
* does not warns for arrays of elements with keys
267
269
* does not warn when the element is directly in rest args
268
270
* does not warn when the array contains a non-element
271
+ * should check declared prop types after clone
269
272
* should ignore key and ref warning getters
270
273
* should ignore undefined key and ref
271
274
* should extract null key and ref
272
275
273
276
src/isomorphic/classic/element/__tests__/ReactElementValidator-test.js
274
277
* warns for keys for arrays of elements in rest args
278
+ * warns for keys for arrays of elements with owner info
275
279
* warns for keys for arrays with no owner or parent info
276
280
* warns for keys for arrays of elements with no owner info
281
+ * warns for keys with component stack info
277
282
* does not warn for keys when passing children down
278
283
* warns for keys for iterables of elements in rest args
279
284
* does not warns for arrays of elements with keys
280
285
* does not warns for iterable elements with keys
281
286
* does not warn when the element is directly in rest args
282
287
* does not warn when the array contains a non-element
288
+ * should give context for PropType errors in nested components.
283
289
* gives a helpful error when passing null, undefined, boolean, or number
284
290
* should check default prop values
285
291
* should not check the default for explicit null
@@ -471,12 +477,15 @@ src/isomorphic/modern/element/__tests__/ReactJSXElement-test.js
471
477
472
478
src/isomorphic/modern/element/__tests__/ReactJSXElementValidator-test.js
473
479
* warns for keys for arrays of elements in children position
480
+ * warns for keys for arrays of elements with owner info
474
481
* warns for keys for iterables of elements in rest args
475
482
* does not warns for arrays of elements with keys
476
483
* does not warns for iterable elements with keys
477
484
* does not warn for numeric keys in entry iterable as a child
478
485
* does not warn when the element is directly as children
479
486
* does not warn when the child array contains non-elements
487
+ * should give context for PropType errors in nested components.
488
+ * should update component stack after receiving next element
480
489
* gives a helpful error when passing null, undefined, or boolean
481
490
* should check default prop values
482
491
* should not check the default for explicit null
@@ -543,6 +552,11 @@ src/renderers/dom/shared/__tests__/CSSPropertyOperations-test.js
543
552
* should create vendor-prefixed markup correctly
544
553
* should set style attribute when styles exist
545
554
* should not set style attribute when no styles exist
555
+ * should warn when using hyphenated style names
556
+ * should warn when updating hyphenated style names
557
+ * warns when miscapitalizing vendored style names
558
+ * should warn about style having a trailing semicolon
559
+ * should warn about style containing a NaN value
546
560
547
561
src/renderers/dom/shared/__tests__/DOMPropertyOperations-test.js
548
562
* should create markup for simple properties
@@ -607,6 +621,9 @@ src/renderers/dom/shared/__tests__/ReactDOMComponent-test.js
607
621
* should gracefully handle various style value types
608
622
* should not update styles when mutating a proxy style object
609
623
* should throw when mutating style objectsd
624
+ * should warn for unknown prop
625
+ * should group multiple unknown prop warnings together
626
+ * should warn for onDblClick prop
610
627
* should not warn for "0" as a unitless style value
611
628
* should warn nicely about NaN in style
612
629
* should update styles if initially null
@@ -644,6 +661,8 @@ src/renderers/dom/shared/__tests__/ReactDOMComponent-test.js
644
661
* should warn on upper case HTML tags, not SVG nor custom tags
645
662
* should warn against children for void elements
646
663
* should warn against dangerouslySetInnerHTML for void elements
664
+ * should include owner rather than parent in warnings
665
+ * should emit a warning once for a named custom component using shady DOM
647
666
* should emit a warning once for an unnamed custom component using shady DOM
648
667
* should treat menuitem as a void element but still create the closing tag
649
668
* should validate against multiple children props
@@ -656,20 +675,31 @@ src/renderers/dom/shared/__tests__/ReactDOMComponent-test.js
656
675
* should validate against invalid styles
657
676
* should track input values
658
677
* should track textarea values
678
+ * should warn for children on void elements
659
679
* should support custom elements which extend native elements
660
680
* should warn against children for void elements
661
681
* should warn against dangerouslySetInnerHTML for void elements
662
682
* should validate against multiple children props
663
683
* should warn about contentEditable and children
664
684
* should validate against invalid styles
685
+ * should report component containing invalid styles
665
686
* should properly escape text content and attributes values
666
687
* unmounts children before unsetting DOM node info
667
688
* should warn about the `onScroll` issue when unsupported (IE8)
668
689
* should throw when an invalid tag name is used server-side
669
690
* should throw when an attack vector is used server-side
670
691
* should throw when an invalid tag name is used
671
692
* should throw when an attack vector is used
693
+ * should warn about incorrect casing on properties
694
+ * should warn about incorrect casing on event handlers
695
+ * should warn about class
672
696
* should warn about props that are no longer supported
697
+ * should warn about props that are no longer supported (ssr)
698
+ * gives source code refs for unknown prop warning
699
+ * gives source code refs for unknown prop warning for update render
700
+ * gives source code refs for unknown prop warning for exact elements
701
+ * gives source code refs for unknown prop warning for exact elements in composition
702
+ * should suggest property name if available
673
703
674
704
src/renderers/dom/shared/__tests__/ReactDOMComponentTree-test.js
675
705
* finds nodes for instances
@@ -680,6 +710,9 @@ src/renderers/dom/shared/__tests__/ReactDOMIDOperations-test.js
680
710
681
711
src/renderers/dom/shared/__tests__/ReactDOMInvalidARIAHook-test.js
682
712
* should allow valid aria-* props
713
+ * should warn for one invalid aria-* prop
714
+ * should warn for many invalid aria-* props
715
+ * should warn for an improperly cased aria-* prop
683
716
684
717
src/renderers/dom/shared/__tests__/ReactDOMSVG-test.js
685
718
* creates initial namespaced markup
@@ -933,11 +966,14 @@ src/renderers/dom/shared/wrappers/__tests__/ReactDOMInput-test.js
933
966
* should have a this value of undefined if bind is not used
934
967
* should warn with checked and no onChange handler with readOnly specified
935
968
* should update defaultValue to empty string
969
+ * should warn if value is null
936
970
* should warn if checked and defaultChecked props are specified
937
971
* should warn if value and defaultValue props are specified
938
972
* should warn if controlled input switches to uncontrolled (value is undefined)
973
+ * should warn if controlled input switches to uncontrolled (value is null)
939
974
* should warn if controlled input switches to uncontrolled with defaultValue
940
975
* should warn if uncontrolled input (value is undefined) switches to controlled
976
+ * should warn if uncontrolled input (value is null) switches to controlled
941
977
* should warn if controlled checkbox switches to uncontrolled (checked is undefined)
942
978
* should warn if controlled checkbox switches to uncontrolled (checked is null)
943
979
* should warn if controlled checkbox switches to uncontrolled with defaultChecked
@@ -983,6 +1019,7 @@ src/renderers/dom/shared/wrappers/__tests__/ReactDOMSelect-test.js
983
1019
* should support server-side rendering with defaultValue
984
1020
* should support server-side rendering with multiple
985
1021
* should not control defaultValue if readding options
1022
+ * should warn if value is null
986
1023
* should refresh state on change
987
1024
* should warn if value and defaultValue props are specified
988
1025
* should be able to safely remove select onChange
@@ -1015,6 +1052,7 @@ src/renderers/dom/shared/wrappers/__tests__/ReactDOMTextarea-test.js
1015
1052
* should allow objects as children
1016
1053
* should throw with multiple or invalid children
1017
1054
* should unmount
1055
+ * should warn if value is null
1018
1056
* should warn if value and defaultValue are specified
1019
1057
1020
1058
src/renderers/native/__tests__/ReactNativeAttributePayload-test.js
@@ -1204,6 +1242,7 @@ src/renderers/shared/fiber/__tests__/ReactTopLevelText-test.js
1204
1242
* should render a component returning numbers directly from render
1205
1243
1206
1244
src/renderers/shared/hooks/__tests__/ReactComponentTreeHook-test.js
1245
+ * gets created
1207
1246
* is created during mounting
1208
1247
* is created when calling renderToString during render
1209
1248
@@ -1258,11 +1297,21 @@ src/renderers/shared/hooks/__tests__/ReactComponentTreeHook-test.native.js
1258
1297
1259
1298
src/renderers/shared/hooks/__tests__/ReactHostOperationHistoryHook-test.js
1260
1299
* gets ignored for composite roots that return null
1300
+ * gets recorded during an update
1301
+ * gets recorded as a removal during an update
1302
+ * gets recorded during an update
1303
+ * gets recorded during an update
1261
1304
* gets ignored if new text is equal
1262
1305
* gets ignored if new text is equal
1263
1306
* gets ignored if the type has not changed
1264
1307
* gets ignored if new html is equal
1265
1308
1309
+ src/renderers/shared/shared/__tests__/ReactChildReconciler-test.js
1310
+ * warns for duplicated array keys
1311
+ * warns for duplicated array keys with component stack info
1312
+ * warns for duplicated iterable keys
1313
+ * warns for duplicated iterable keys with component stack info
1314
+
1266
1315
src/renderers/shared/shared/__tests__/ReactComponent-test.js
1267
1316
* should throw when supplying a ref outside of render method
1268
1317
* should warn when children are mutated during render
@@ -1317,6 +1366,7 @@ src/renderers/shared/shared/__tests__/ReactCompositeComponent-test.js
1317
1366
* should replace state
1318
1367
* should support objects with prototypes as state
1319
1368
* should not warn about unmounting during unmounting
1369
+ * should warn when mutated props are passed
1320
1370
* should only call componentWillUnmount once
1321
1371
* prepares new child before unmounting old
1322
1372
@@ -1405,6 +1455,8 @@ src/renderers/shared/shared/__tests__/ReactMultiChild-test.js
1405
1455
* should replace children with different constructors
1406
1456
* should NOT replace children with different owners
1407
1457
* should replace children with different keys
1458
+ * should warn for duplicated array keys with component stack info
1459
+ * should warn for duplicated iterable keys with component stack info
1408
1460
* should reorder bailed-out children
1409
1461
* prepares new children before unmounting old
1410
1462
@@ -1457,6 +1509,7 @@ src/renderers/shared/shared/__tests__/ReactStatelessComponent-test.js
1457
1509
* should unmount stateless component
1458
1510
* should pass context thru stateless component
1459
1511
* should provide a null ref
1512
+ * should use correct name in key warning
1460
1513
* should support default props and prop types
1461
1514
* should receive context
1462
1515
* should work with arrow functions
@@ -1511,6 +1564,8 @@ src/renderers/shared/shared/__tests__/refs-test.js
1511
1564
* ref called correctly for stateless component when __DEV__ = false
1512
1565
* ref called correctly for stateless component when __DEV__ = true
1513
1566
* coerces numbers to strings
1567
+ * attaches, detaches from fiber component with stack layer
1568
+ * attaches, detaches from stack component with fiber layer
1514
1569
1515
1570
src/renderers/shared/shared/event/__tests__/EventPluginHub-test.js
1516
1571
* should prevent non-function listeners, at dispatch
0 commit comments