Move DOM dependent tests out of the shared folder (#8954)
We have a bunch of tests that are meant to test generic React behavior. However, we've written the tests against the DOM renderer. This moves tests that depend on ReactDOM or ReactTestUtils out of the shared repo. This will let us sync the shared repo directly to environments that don't support running these tests. Such as React Native.
Sebastian Markbåge committed
Feb 8, 2017 at 10:20 UTC
b187142103377f2a45fc8da514f2d6cb66337171
28 files changed
+1117
-1117
scripts/fiber/tests-failing.txt
+21
-21
@@ -1,6 +1,27 @@
1
src/isomorphic/classic/__tests__/ReactContextValidator-test.js
2
* should pass previous context to lifecycles
3
4
+src/renderers/__tests__/ReactComponentLifeCycle-test.js
5
+* should carry through each of the phases of setup
6
+
7
+src/renderers/__tests__/ReactComponentTreeHook-test.js
8
+* can be retrieved by ID
9
+
10
+src/renderers/__tests__/ReactHostOperationHistoryHook-test.js
11
+* gets recorded during an update
12
+
13
+src/renderers/__tests__/ReactPerf-test.js
14
+* should count no-op update as waste
15
+* should count no-op update in child as waste
16
+* should include stats for components unmounted during measurement
17
+* should include lifecycle methods in measurements
18
+* should include render time of functional components
19
+* should not count time in a portal towards lifecycle method
20
+* should work when measurement starts during reconciliation
21
+
22
+src/renderers/__tests__/refs-test.js
23
+* Should increase refs with an increase in divs
24
+
25
src/renderers/dom/shared/__tests__/ReactDOMComponent-test.js
26
* should clean up input value tracking
27
* should clean up input textarea tracking
@@ -26,24 +47,3 @@ src/renderers/dom/shared/__tests__/ReactRenderDocument-test.js
47
* should give helpful errors on state desync
48
* should throw on full document render w/ no markup
49
* supports findDOMNode on full-page components
29
-
30
-src/renderers/shared/__tests__/ReactPerf-test.js
31
-* should count no-op update as waste
32
-* should count no-op update in child as waste
33
-* should include stats for components unmounted during measurement
34
-* should include lifecycle methods in measurements
35
-* should include render time of functional components
36
-* should not count time in a portal towards lifecycle method
37
-* should work when measurement starts during reconciliation
38
-
39
-src/renderers/shared/hooks/__tests__/ReactComponentTreeHook-test.js
40
-* can be retrieved by ID
41
-
42
-src/renderers/shared/hooks/__tests__/ReactHostOperationHistoryHook-test.js
43
-* gets recorded during an update
44
-
45
-src/renderers/shared/shared/__tests__/ReactComponentLifeCycle-test.js
46
-* should carry through each of the phases of setup
47
-
48
-src/renderers/shared/shared/__tests__/refs-test.js
49
-* Should increase refs with an increase in divs
scripts/fiber/tests-passing-except-dev.txt
+31
-31
@@ -1,22 +1,9 @@
1
-src/renderers/dom/shared/__tests__/ReactDOMComponent-test.js
2
-* should not warn when server-side rendering `onScroll`
3
-* should warn about incorrect casing on properties (ssr)
4
-* should warn about incorrect casing on event handlers (ssr)
5
-* should warn about class (ssr)
6
-* should suggest property name if available (ssr)
7
-
8
-src/renderers/dom/shared/__tests__/ReactMount-test.js
9
-* should warn if mounting into dirty rendered markup
10
-* should account for escaping on a checksum mismatch
11
-
12
-src/renderers/dom/shared/__tests__/ReactMountDestruction-test.js
13
-* should warn when unmounting a non-container root node
14
-* should warn when unmounting a non-container, non-root node
15
-
16
-src/renderers/dom/shared/__tests__/ReactServerRendering-test.js
17
-* should have the correct mounting behavior
1
+src/renderers/__tests__/ReactComponentLifeCycle-test.js
2
+* should correctly determine if a component is mounted
3
+* should correctly determine if a null component is mounted
4
+* warns if findDOMNode is used inside render
5
19
-src/renderers/shared/hooks/__tests__/ReactComponentTreeHook-test.js
6
+src/renderers/__tests__/ReactComponentTreeHook-test.js
7
* uses displayName or Unknown for classic components
8
* uses displayName, name, or ReactComponent for modern components
9
* uses displayName, name, or Object for factory components
@@ -74,7 +61,14 @@ src/renderers/shared/hooks/__tests__/ReactComponentTreeHook-test.js
61
* registers inlined text nodes
62
* works
63
77
-src/renderers/shared/hooks/__tests__/ReactHostOperationHistoryHook-test.js
64
+src/renderers/__tests__/ReactCompositeComponent-test.js
65
+* should warn about `forceUpdate` on unmounted components
66
+* should warn about `setState` on unmounted components
67
+* should warn about `setState` in render
68
+* should warn about `setState` in getChildContext
69
+* should disallow nested render calls
70
+
71
+src/renderers/__tests__/ReactHostOperationHistoryHook-test.js
72
* gets recorded for host roots
73
* gets recorded for composite roots
74
* gets recorded when a native is mounted deeply instead of null
@@ -96,17 +90,23 @@ src/renderers/shared/hooks/__tests__/ReactHostOperationHistoryHook-test.js
90
* gets reported when a child is inserted
91
* gets reported when a child is removed
92
99
-src/renderers/shared/shared/__tests__/ReactComponentLifeCycle-test.js
100
-* should correctly determine if a component is mounted
101
-* should correctly determine if a null component is mounted
102
-* warns if findDOMNode is used inside render
93
+src/renderers/__tests__/ReactStatelessComponent-test.js
94
+* should warn for childContextTypes on a functional component
95
104
-src/renderers/shared/shared/__tests__/ReactCompositeComponent-test.js
105
-* should warn about `forceUpdate` on unmounted components
106
-* should warn about `setState` on unmounted components
107
-* should warn about `setState` in render
108
-* should warn about `setState` in getChildContext
109
-* should disallow nested render calls
96
+src/renderers/dom/shared/__tests__/ReactDOMComponent-test.js
97
+* should not warn when server-side rendering `onScroll`
98
+* should warn about incorrect casing on properties (ssr)
99
+* should warn about incorrect casing on event handlers (ssr)
100
+* should warn about class (ssr)
101
+* should suggest property name if available (ssr)
102
111
-src/renderers/shared/shared/__tests__/ReactStatelessComponent-test.js
112
-* should warn for childContextTypes on a functional component
103
+src/renderers/dom/shared/__tests__/ReactMount-test.js
104
+* should warn if mounting into dirty rendered markup
105
+* should account for escaping on a checksum mismatch
106
+
107
+src/renderers/dom/shared/__tests__/ReactMountDestruction-test.js
108
+* should warn when unmounting a non-container root node
109
+* should warn when unmounting a non-container, non-root node
110
+
111
+src/renderers/dom/shared/__tests__/ReactServerRendering-test.js
112
+* should have the correct mounting behavior
scripts/fiber/tests-passing.txt
+1065
-1065
@@ -517,1143 +517,1143 @@ src/isomorphic/modern/element/__tests__/ReactJSXElementValidator-test.js
517
* should warn on invalid context types
518
* should warn if getDefaultProps is specificed on the class
519
520
-src/renderers/art/__tests__/ReactART-test.js
521
-* should have the correct lifecycle state
522
-* should render a reasonable SVG structure in SVG mode
523
-* should be able to reorder components
524
-* should be able to reorder many components
525
-* renders composite with lifecycle inside group
526
-* resolves refs before componentDidMount
527
-* resolves refs before componentDidUpdate
528
-* adds and updates event handlers
520
+src/renderers/__tests__/EventPluginHub-test.js
521
+* should prevent non-function listeners, at dispatch
522
+* should not prevent null listeners, at dispatch
523
530
-src/renderers/dom/__tests__/ReactDOMProduction-test.js
531
-* should use prod fbjs
532
-* should use prod React
533
-* should handle a simple flow
534
-* should call lifecycle methods
535
-* should throw with an error code in production
536
-* should keep track of namespace across portals in production
524
+src/renderers/__tests__/ReactChildReconciler-test.js
525
+* warns for duplicated array keys
526
+* warns for duplicated array keys with component stack info
527
+* warns for duplicated iterable keys
528
+* warns for duplicated iterable keys with component stack info
529
538
-src/renderers/dom/fiber/__tests__/ReactDOMFiber-test.js
539
-* should render strings as children
540
-* should render numbers as children
541
-* should be called a callback argument
542
-* should call a callback argument when the same element is re-rendered
543
-* should render a component returning strings directly from render
544
-* should render a component returning numbers directly from render
545
-* finds the DOM Text node of a string child
546
-* finds the first child when a component returns a fragment
547
-* finds the first child even when fragment is nested
548
-* finds the first child even when first child renders null
549
-* should render one portal
550
-* should render many portals
551
-* should render nested portals
552
-* should reconcile portal children
553
-* should keep track of namespace across portals (simple)
554
-* should keep track of namespace across portals (medium)
555
-* should keep track of namespace across portals (complex)
556
-* should unwind namespaces on uncaught errors
557
-* should unwind namespaces on caught errors
558
-* should unwind namespaces on caught errors in a portal
559
-* should pass portal context when rendering subtree elsewhere
560
-* should update portal context if it changes due to setState
561
-* should update portal context if it changes due to re-render
562
-* findDOMNode should find dom element after expanding a fragment
563
-* should bubble events from the portal to the parent
564
-* should not onMouseLeave when staying in the portal
565
-* should not update event handlers until commit
566
-* should not crash encountering low-priority tree
567
-* throws if non-element passed to top-level render
568
-* throws if something other than false, null, or an element is returned from render
569
-* treats mocked render functions as if they return null
530
+src/renderers/__tests__/ReactComponent-test.js
531
+* should throw on invalid render targets
532
+* should throw when supplying a ref outside of render method
533
+* should warn when children are mutated during render
534
+* should warn when children are mutated during update
535
+* should support refs on owned components
536
+* should not have refs on unmounted components
537
+* should support new-style refs
538
+* should support new-style refs with mixed-up owners
539
+* should call refs at the correct time
540
+* fires the callback after a component is rendered
541
+* throws usefully when rendering badly-typed elements
542
+* includes owner name in the error about badly-typed elements
543
571
-src/renderers/dom/shared/__tests__/CSSProperty-test.js
572
-* should generate browser prefixes for its `isUnitlessNumber`
544
+src/renderers/__tests__/ReactComponentLifeCycle-test.js
545
+* should not reuse an instance when it has been unmounted
546
+* it should fire onDOMReady when already in onDOMReady
547
+* throws when accessing state in componentWillMount
548
+* should allow update state inside of componentWillMount
549
+* should not allow update state inside of getInitialState
550
+* isMounted should return false when unmounted
551
+* should not throw when updating an auxiliary component
552
+* should allow state updates in componentDidMount
553
+* should call nested lifecycle methods in the right order
554
+* calls effects on module-pattern component
555
574
-src/renderers/dom/shared/__tests__/CSSPropertyOperations-test.js
575
-* should create markup for simple styles
576
-* should ignore undefined styles
577
-* should ignore null styles
578
-* should return null for no styles
579
-* should automatically append `px` to relevant styles
580
-* should trim values
581
-* should not append `px` to styles that might need a number
582
-* should create vendor-prefixed markup correctly
583
-* should set style attribute when styles exist
584
-* should not set style attribute when no styles exist
585
-* should warn when using hyphenated style names
586
-* should warn when updating hyphenated style names
587
-* warns when miscapitalizing vendored style names
588
-* should warn about style having a trailing semicolon
589
-* should warn about style containing a NaN value
556
+src/renderers/__tests__/ReactComponentTreeHook-test.js
557
+* gets created
558
+* is created during mounting
559
+* is created when calling renderToString during render
560
591
-src/renderers/dom/shared/__tests__/DOMPropertyOperations-test.js
592
-* should create markup for simple properties
593
-* should work with the id attribute
594
-* should create markup for boolean properties
595
-* should create markup for booleanish properties
596
-* should create markup for custom attributes
597
-* should create markup for numeric properties
598
-* should allow custom properties on web components
599
-* should set values as properties by default
600
-* should set values as attributes if necessary
601
-* should set values as namespace attributes if necessary
602
-* should set values as boolean properties
603
-* should convert attribute values to string first
604
-* should not remove empty attributes for special properties
605
-* should remove for falsey boolean properties
606
-* should remove when setting custom attr to null
607
-* should use mutation method where applicable
608
-* should set className to empty string instead of null
609
-* should remove property properly for boolean properties
610
-* should remove property properly even with different name
611
-* should remove attributes for normal properties
612
-* should not remove attributes for special properties
613
-* should not leave all options selected when deleting multiple
614
-* should support custom attributes
561
+src/renderers/__tests__/ReactComponentTreeHook-test.native.js
562
+* uses displayName or Unknown for classic components
563
+* uses displayName, name, or ReactComponent for modern components
564
+* uses displayName, name, or Object for factory components
565
+* uses displayName, name, or StatelessComponent for functional components
566
+* reports a host tree correctly
567
+* reports a simple tree with composites correctly
568
+* reports a tree with composites correctly
569
+* ignores null children
570
+* ignores false children
571
+* reports text nodes as children
572
+* reports a single text node as a child
573
+* reports a single number node as a child
574
+* reports a zero as a child
575
+* skips empty nodes for multiple children
576
+* updates text of a single text child
577
+* updates from no children to a single text child
578
+* updates from a single text child to no children
579
+* updates from no children to multiple text children
580
+* updates from multiple text children to no children
581
+* updates from one text child to multiple text children
582
+* updates from multiple text children to one text child
583
+* updates text nodes when reordering
584
+* updates host nodes when reordering with keys
585
+* updates host nodes when reordering with keys
586
+* updates a single composite child of a different type
587
+* updates a single composite child of the same type
588
+* updates from no children to a single composite child
589
+* updates from a single composite child to no children
590
+* updates mixed children
591
+* updates with a host child
592
+* updates from null to a host child
593
+* updates from a host child to null
594
+* updates from a host child to a composite child
595
+* updates from a composite child to a host child
596
+* updates from null to a composite child
597
+* updates from a composite child to null
598
+* updates with a host child
599
+* updates from null to a host child
600
+* updates from a host child to null
601
+* updates from a host child to a composite child
602
+* updates from a composite child to a host child
603
+* updates from null to a composite child
604
+* updates from a composite child to null
605
+* tracks owner correctly
606
+* purges unmounted components automatically
607
+* reports update counts
608
+* does not report top-level wrapper as a root
609
616
-src/renderers/dom/shared/__tests__/ReactBrowserEventEmitter-test.js
617
-* should store a listener correctly
618
-* should retrieve a listener correctly
619
-* should clear all handlers when asked to
620
-* should invoke a simple handler registered on a node
621
-* should not invoke handlers if ReactBrowserEventEmitter is disabled
622
-* should bubble simply
623
-* should bubble to the right handler after an update
624
-* should continue bubbling if an error is thrown
625
-* should set currentTarget
626
-* should support stopPropagation()
627
-* should stop after first dispatch if stopPropagation
628
-* should not stopPropagation if false is returned
629
-* should invoke handlers that were removed while bubbling
630
-* should not invoke newly inserted handlers while bubbling
631
-* should have mouse enter simulated by test utils
632
-* should infer onTouchTap from a touchStart/End
633
-* should infer onTouchTap from when dragging below threshold
634
-* should not onTouchTap from when dragging beyond threshold
635
-* should listen to events only once
636
-* should work with event plugins without dependencies
637
-* should work with event plugins with dependencies
638
-* should bubble onTouchTap
639
-* should not crash ensureScrollValueMonitoring when createEvent returns null
610
+src/renderers/__tests__/ReactCompositeComponent-test.js
611
+* should support module pattern components
612
+* should support rendering to different child types over time
613
+* should not thrash a server rendered layout with client side one
614
+* should react to state changes from callbacks
615
+* should rewire refs when rendering to different child types
616
+* should not cache old DOM nodes when switching constructors
617
+* should auto bind methods and values correctly
618
+* should not pass this to getDefaultProps
619
+* should use default values for undefined props
620
+* should not mutate passed-in props object
621
+* should silently allow `setState`, not call cb on unmounting components
622
+* should cleanup even if render() fatals
623
+* should call componentWillUnmount before unmounting
624
+* should warn when shouldComponentUpdate() returns undefined
625
+* should warn when componentDidUnmount method is defined
626
+* should pass context to children when not owner
627
+* should skip update when rerendering element in container
628
+* should pass context when re-rendered for static child
629
+* should pass context when re-rendered for static child within a composite component
630
+* should pass context transitively
631
+* should pass context when re-rendered
632
+* unmasked context propagates through updates
633
+* should trigger componentWillReceiveProps for context changes
634
+* only renders once if updated in componentWillReceiveProps
635
+* only renders once if updated in componentWillReceiveProps when batching
636
+* should update refs if shouldComponentUpdate gives false
637
+* should allow access to findDOMNode in componentWillUnmount
638
+* context should be passed down from the parent
639
+* should replace state
640
+* should support objects with prototypes as state
641
+* should not warn about unmounting during unmounting
642
+* should warn when mutated props are passed
643
+* should only call componentWillUnmount once
644
+* prepares new child before unmounting old
645
641
-src/renderers/dom/shared/__tests__/ReactDOM-test.js
642
-* allows a DOM element to be used with a string
643
-* should allow children to be passed as an argument
644
-* should overwrite props.children with children argument
645
-* should purge the DOM cache when removing nodes
646
-* allow React.DOM factories to be called without warnings
647
-* throws in render() if the mount callback is not a function
648
-* throws in render() if the update callback is not a function
649
-* preserves focus
650
-* calls focus() on autoFocus elements after they have been mounted to the DOM
646
+src/renderers/__tests__/ReactCompositeComponentDOMMinimalism-test.js
647
+* should not render extra nodes for non-interpolated text
648
+* should not render extra nodes for non-interpolated text
649
+* should not render extra nodes for non-interpolated text
650
652
-src/renderers/dom/shared/__tests__/ReactDOMComponent-test.js
653
-* should handle className
654
-* should gracefully handle various style value types
655
-* should not update styles when mutating a proxy style object
656
-* should throw when mutating style objectsd
657
-* should warn for unknown prop
658
-* should group multiple unknown prop warnings together
659
-* should warn for onDblClick prop
660
-* should not warn for "0" as a unitless style value
661
-* should warn nicely about NaN in style
662
-* should update styles if initially null
663
-* should update styles if updated to null multiple times
664
-* should allow named slot projection on both web components and regular DOM elements
665
-* should skip reserved props on web components
666
-* should skip dangerouslySetInnerHTML on web components
667
-* should render null and undefined as empty but print other falsy values
668
-* should remove attributes
669
-* should remove properties
670
-* should properly update custom attributes on custom elements
671
-* should clear a single style prop when changing `style`
672
-* should reject attribute key injection attack on markup
673
-* should reject attribute key injection attack on update
674
-* should update arbitrary attributes for tags containing dashes
675
-* should clear all the styles when removing `style`
676
-* should update styles when `style` changes from null to object
677
-* should not reset innerHTML for when children is null
678
-* should reset innerHTML when switching from a direct text child to an empty child
679
-* should empty element when removing innerHTML
680
-* should transition from string content to innerHTML
681
-* should transition from innerHTML to string content
682
-* should transition from innerHTML to children in nested el
683
-* should transition from children to innerHTML in nested el
684
-* should not incur unnecessary DOM mutations for attributes
685
-* should not incur unnecessary DOM mutations for string properties
686
-* should not incur unnecessary DOM mutations for boolean properties
687
-* should ignore attribute whitelist for elements with the "is: attribute
688
-* should not update when switching between null/undefined
689
-* handles multiple child updates without interference
690
-* should generate the correct markup with className
691
-* should escape style names and values
692
-* should handle dangerouslySetInnerHTML
693
-* should work error event on <source> element
694
-* should not duplicate uppercased selfclosing tags
695
-* should warn on upper case HTML tags, not SVG nor custom tags
696
-* should warn against children for void elements
697
-* should warn against dangerouslySetInnerHTML for void elements
698
-* should include owner rather than parent in warnings
699
-* should emit a warning once for a named custom component using shady DOM
700
-* should emit a warning once for an unnamed custom component using shady DOM
701
-* should treat menuitem as a void element but still create the closing tag
702
-* should validate against multiple children props
703
-* should validate against use of innerHTML
704
-* should validate use of dangerouslySetInnerHTML
705
-* should validate use of dangerouslySetInnerHTML
706
-* should allow {__html: null}
707
-* should warn about contentEditable and children
708
-* should respect suppressContentEditableWarning
709
-* should validate against invalid styles
710
-* should track input values
711
-* should track textarea values
712
-* should warn for children on void elements
713
-* should support custom elements which extend native elements
714
-* should warn against children for void elements
715
-* should warn against dangerouslySetInnerHTML for void elements
716
-* should validate against multiple children props
717
-* should warn about contentEditable and children
718
-* should validate against invalid styles
719
-* should report component containing invalid styles
720
-* should properly escape text content and attributes values
721
-* unmounts children before unsetting DOM node info
722
-* should warn about the `onScroll` issue when unsupported (IE8)
723
-* should throw when an invalid tag name is used server-side
724
-* should throw when an attack vector is used server-side
725
-* should throw when an invalid tag name is used
726
-* should throw when an attack vector is used
727
-* warns on invalid nesting
728
-* warns on invalid nesting at root
729
-* warns nicely for table rows
730
-* gives useful context in warnings
731
-* should warn about incorrect casing on properties
732
-* should warn about incorrect casing on event handlers
733
-* should warn about class
734
-* should warn about props that are no longer supported
735
-* should warn about props that are no longer supported (ssr)
736
-* gives source code refs for unknown prop warning
737
-* gives source code refs for unknown prop warning for update render
738
-* gives source code refs for unknown prop warning for exact elements
739
-* gives source code refs for unknown prop warning for exact elements in composition
740
-* should suggest property name if available
741
-
742
-src/renderers/dom/shared/__tests__/ReactDOMComponentTree-test.js
743
-* finds nodes for instances
744
-* finds instances for nodes
651
+src/renderers/__tests__/ReactCompositeComponentNestedState-test.js
652
+* should provide up to date values for props
653
746
-src/renderers/dom/shared/__tests__/ReactDOMIDOperations-test.js
747
-* should update innerHTML and preserve whitespace
654
+src/renderers/__tests__/ReactCompositeComponentState-test.js
655
+* should support setting state
656
+* should call componentDidUpdate of children first
657
+* should batch unmounts
658
+* should update state when called from child cWRP
659
+* should merge state when sCU returns false
660
749
-src/renderers/dom/shared/__tests__/ReactDOMInvalidARIAHook-test.js
750
-* should allow valid aria-* props
751
-* should warn for one invalid aria-* prop
752
-* should warn for many invalid aria-* props
753
-* should warn for an improperly cased aria-* prop
661
+src/renderers/__tests__/ReactEmptyComponent-test.js
662
+* should not produce child DOM nodes for null and false
663
+* should still throw when rendering to undefined
664
+* should be able to switch between rendering null and a normal tag
665
+* should be able to switch in a list of children
666
+* should distinguish between a script placeholder and an actual script tag
667
+* should have findDOMNode return null when multiple layers of composite components render to the same null placeholder
668
+* works when switching components
669
+* can render null at the top level
670
+* does not break when updating during mount
671
+* preserves the dom node during updates
672
755
-src/renderers/dom/shared/__tests__/ReactDOMSVG-test.js
756
-* creates initial namespaced markup
757
-* creates elements with SVG namespace inside SVG tag during mount
758
-* creates elements with SVG namespace inside SVG tag during update
759
-* can render SVG into a non-React SVG tree
760
-* can render HTML into a foreignObject in non-React SVG tree
673
+src/renderers/__tests__/ReactErrorBoundaries-test.js
674
+* does not swallow exceptions on mounting without boundaries
675
+* does not swallow exceptions on updating without boundaries
676
+* does not swallow exceptions on unmounting without boundaries
677
+* prevents errors from leaking into other roots
678
+* renders an error state if child throws in render
679
+* renders an error state if child throws in constructor
680
+* renders an error state if child throws in componentWillMount
681
+* renders an error state if context provider throws in componentWillMount
682
+* renders an error state if module-style context provider throws in componentWillMount
683
+* mounts the error message if mounting fails
684
+* propagates errors on retry on mounting
685
+* propagates errors inside boundary during componentWillMount
686
+* propagates errors inside boundary while rendering error state
687
+* does not call componentWillUnmount when aborting initial mount
688
+* resets refs if mounting aborts
689
+* successfully mounts if no error occurs
690
+* catches if child throws in constructor during update
691
+* catches if child throws in componentWillMount during update
692
+* catches if child throws in componentWillReceiveProps during update
693
+* catches if child throws in componentWillUpdate during update
694
+* catches if child throws in render during update
695
+* keeps refs up-to-date during updates
696
+* recovers from componentWillUnmount errors on update
697
+* recovers from nested componentWillUnmount errors on update
698
+* picks the right boundary when handling unmounting errors
699
+* can recover from error state
700
+* can update multiple times in error state
701
+* doesn't get into inconsistent state during removals
702
+* doesn't get into inconsistent state during additions
703
+* doesn't get into inconsistent state during reorders
704
+* catches errors originating downstream
705
+* catches errors in componentDidMount
706
+* catches errors in componentDidUpdate
707
+* propagates errors inside boundary during componentDidMount
708
+* lets different boundaries catch their own first errors
709
+* discards a bad root if the root component fails
710
+* renders empty output if error boundary does not handle the error
711
+* passes first error when two errors happen in commit
712
762
-src/renderers/dom/shared/__tests__/ReactDOMTextComponent-test.js
763
-* updates a mounted text component in place
764
-* can be toggled in and out of the markup
765
-* can reconcile text from pre-rendered markup
713
+src/renderers/__tests__/ReactHostOperationHistoryHook-test.js
714
+* gets ignored for composite roots that return null
715
+* gets recorded during an update
716
+* gets recorded as a removal during an update
717
+* gets recorded during an update
718
+* gets recorded during an update
719
+* gets ignored if new text is equal
720
+* gets ignored if new text is equal
721
+* gets ignored if the type has not changed
722
+* gets ignored if new html is equal
723
767
-src/renderers/dom/shared/__tests__/ReactEventIndependence-test.js
768
-* does not crash with other react inside
769
-* does not crash with other react outside
770
-* does not when event fired on unmounted tree
724
+src/renderers/__tests__/ReactIdentity-test.js
725
+* should allow key property to express identity
726
+* should use composite identity
727
+* should allow any character as a key, in a detached parent
728
+* should allow any character as a key, in an attached parent
729
+* should not allow scripts in keys to execute
730
+* should let restructured components retain their uniqueness
731
+* should let nested restructures retain their uniqueness
732
+* should let text nodes retain their uniqueness
733
+* should retain key during updates in composite components
734
+* should not allow implicit and explicit keys to collide
735
772
-src/renderers/dom/shared/__tests__/ReactEventListener-test.js
773
-* should dispatch events from outside React tree
774
-* should propagate events one level down
775
-* should propagate events two levels down
776
-* should not get confused by disappearing elements
777
-* should batch between handlers from different roots
778
-* should not fire duplicate events for a React DOM tree
736
+src/renderers/__tests__/ReactMockedComponent-test.js
737
+* should allow an implicitly mocked component to be rendered without warnings
738
+* should allow an implicitly mocked component to be updated
739
+* has custom methods on the implicitly mocked component
740
+* should allow an explicitly mocked component to be rendered
741
+* should allow an explicitly mocked component to be updated
742
+* has custom methods on the explicitly mocked component
743
780
-src/renderers/dom/shared/__tests__/ReactMount-test.js
781
-* throws when given a non-node
782
-* throws when given a string
783
-* throws when given a factory
784
-* should render different components in same root
785
-* should unmount and remount if the key changes
786
-* should reuse markup if rendering to the same target twice
787
-* should not warn if mounting into non-empty node
788
-* should warn when mounting into document.body
789
-* should warn if render removes React-rendered children
790
-* should warn if the unmounted node was rendered by another copy of React
791
-* passes the correct callback context
744
+src/renderers/__tests__/ReactMultiChild-test.js
745
+* should update children when possible
746
+* should replace children with different constructors
747
+* should NOT replace children with different owners
748
+* should replace children with different keys
749
+* should warn for duplicated array keys with component stack info
750
+* should warn for duplicated iterable keys with component stack info
751
+* should warn for using maps as children with owner info
752
+* should reorder bailed-out children
753
+* prepares new children before unmounting old
754
793
-src/renderers/dom/shared/__tests__/ReactMountDestruction-test.js
794
-* should destroy a react root upon request
755
+src/renderers/__tests__/ReactMultiChildReconcile-test.js
756
+* should reset internal state if removed then readded in an array
757
+* should reset internal state if removed then readded in an iterable
758
+* should create unique identity
759
+* should preserve order if children order has not changed
760
+* should transition from zero to one children correctly
761
+* should transition from one to zero children correctly
762
+* should transition from one child to null children
763
+* should transition from null children to one child
764
+* should transition from zero children to null children
765
+* should transition from null children to zero children
766
+* should remove nulled out children at the beginning
767
+* should remove nulled out children at the end
768
+* should reverse the order of two children
769
+* should reverse the order of more than two children
770
+* should cycle order correctly
771
+* should cycle order correctly in the other direction
772
+* should remove nulled out children and ignore new null children
773
+* should remove nulled out children and reorder remaining
774
+* should append children to the end
775
+* should append multiple children to the end
776
+* should prepend children to the beginning
777
+* should prepend multiple children to the beginning
778
+* should not prepend an empty child to the beginning
779
+* should not append an empty child to the end
780
+* should not insert empty children in the middle
781
+* should insert one new child in the middle
782
+* should insert multiple new truthy children in the middle
783
+* should insert non-empty children in middle where nulls were
784
796
-src/renderers/dom/shared/__tests__/ReactServerRendering-test.js
797
-* should generate simple markup
798
-* should generate simple markup for self-closing tags
799
-* should generate simple markup for attribute with `>` symbol
800
-* should generate comment markup for component returns null
801
-* should render composite components
802
-* should only execute certain lifecycle methods
803
-* should throw with silly args
804
-* should not put checksum and React ID on components
805
-* should not put checksum and React ID on text components
806
-* should only execute certain lifecycle methods
807
-* should throw with silly args
808
-* allows setState in componentWillMount without using DOM
809
-* renders components with different batching strategies
810
-* warns with a no-op when an async setState is triggered
811
-* warns with a no-op when an async replaceState is triggered
812
-* warns with a no-op when an async forceUpdate is triggered
813
-* should warn when children are mutated during render
785
+src/renderers/__tests__/ReactMultiChildText-test.js
786
+* should correctly handle all possible children for render and update
787
+* should throw if rendering both HTML and children
788
+* should render between nested components and inline children
789
815
-src/renderers/dom/shared/__tests__/escapeTextContentForBrowser-test.js
816
-* should escape boolean to string
817
-* should escape object to string
818
-* should escape number to string
819
-* should escape string
820
-
821
-src/renderers/dom/shared/__tests__/findDOMNode-test.js
822
-* findDOMNode should return null if passed null
823
-* findDOMNode should find dom element
824
-* findDOMNode should find dom element after an update from null
825
-* findDOMNode should reject random objects
826
-* findDOMNode should reject unmounted objects with render func
827
-* findDOMNode should not throw an error when called within a component that is not mounted
828
-
829
-src/renderers/dom/shared/__tests__/inputValueTracking-test.js
830
-* should attach tracker to wrapper state
831
-* should define `value` on the instance node
832
-* should define `checked` on the instance node
833
-* should initialize with the current value
834
-* should initialize with the current `checked`
835
-* should track value changes
836
-* should tracked`checked` changes
837
-* should update value manually
838
-* should coerce value to a string
839
-* should update value if it changed and return result
840
-* should track value and return true when updating untracked instance
841
-* should return tracker from node
842
-* should stop tracking
790
+src/renderers/__tests__/ReactPerf-test.js
791
+* should not count initial render as waste
792
+* should not count unmount as waste
793
+* should not count content update as waste
794
+* should not count child addition as waste
795
+* should not count child removal as waste
796
+* should not count property update as waste
797
+* should not count style update as waste
798
+* should not count property removal as waste
799
+* should not count raw HTML update as waste
800
+* should not count child reordering as waste
801
+* should not count text update as waste
802
+* should not count replacing null with a host as waste
803
+* should not count replacing a host with null as waste
804
+* warns once when using getMeasurementsSummaryMap
805
+* warns once when using printDOM
806
+* returns isRunning state
807
+* start has no effect when already running
808
+* stop has no effect when already stopped
809
+* should print console error only once
810
+* should not print errant warnings if render() throws
811
+* should not print errant warnings if componentWillMount() throws
812
+* should not print errant warnings if componentDidMount() throws
813
+* should not print errant warnings if portal throws in render()
814
+* should not print errant warnings if portal throws in componentWillMount()
815
+* should not print errant warnings if portal throws in componentDidMount()
816
844
-src/renderers/dom/shared/__tests__/quoteAttributeValueForBrowser-test.js
845
-* should escape boolean to string
846
-* should escape object to string
847
-* should escape number to string
848
-* should escape string
817
+src/renderers/__tests__/ReactStateSetters-test.js
818
+* createStateSetter should update state
819
+* createStateKeySetter should update state
820
+* createStateKeySetter is memoized
821
+* createStateSetter should update state from mixin
822
+* createStateKeySetter should update state with mixin
823
+* createStateKeySetter is memoized with mixin
824
850
-src/renderers/dom/shared/__tests__/validateDOMNesting-test.js
851
-* allows any tag with no context
852
-* allows valid nestings
853
-* prevents problematic nestings
825
+src/renderers/__tests__/ReactStatelessComponent-test.js
826
+* should render stateless component
827
+* should update stateless component
828
+* should unmount stateless component
829
+* should pass context thru stateless component
830
+* should throw when stateless component returns undefined
831
+* should throw on string refs in pure functions
832
+* should warn when given a string ref
833
+* should warn when given a function ref
834
+* deduplicates ref warnings based on element or owner
835
+* should provide a null ref
836
+* should use correct name in key warning
837
+* should support default props and prop types
838
+* should receive context
839
+* should work with arrow functions
840
+* should allow simple functions to return null
841
+* should allow simple functions to return false
842
855
-src/renderers/dom/shared/eventPlugins/__tests__/BeforeInputEventPlugin-test.js
856
-* extract onBeforeInput from native textinput events
857
-* extract onBeforeInput from fallback objects
843
+src/renderers/__tests__/ReactTreeTraversal-test.js
844
+* should not traverse when traversing outside DOM
845
+* should traverse two phase across component boundary
846
+* should traverse two phase at shallowest node
847
+* should not traverse when enter/leaving outside DOM
848
+* should not traverse if enter/leave the same node
849
+* should traverse enter/leave to sibling - avoids parent
850
+* should traverse enter/leave to parent - avoids parent
851
+* should enter from the window
852
+* should enter from the window to the shallowest
853
+* should leave to the window
854
+* should leave to the window from the shallowest
855
+* should determine the first common ancestor correctly
856
859
-src/renderers/dom/shared/eventPlugins/__tests__/ChangeEventPlugin-test.js
860
-* should fire change for checkbox input
861
-* should catch setting the value programmatically
862
-* should not fire change when setting the value programmatically
863
-* should not fire change when setting checked programmatically
864
-* should unmount
865
-* should only fire change for checked radio button once
866
-* should deduplicate input value change events
867
-* should listen for both change and input events when supported
868
-* should only fire events when the value changes for range inputs
857
+src/renderers/__tests__/ReactUpdates-test.js
858
+* should batch state when updating state twice
859
+* should batch state when updating two different state keys
860
+* should batch state and props together
861
+* should batch parent/child state updates together
862
+* should batch child/parent state updates together
863
+* should support chained state updates
864
+* should batch forceUpdate together
865
+* should update children even if parent blocks updates
866
+* should not reconcile children passed via props
867
+* should flow updates correctly
868
+* should share reconcile transaction across different roots
869
+* should queue mount-ready handlers across different roots
870
+* should flush updates in the correct order
871
+* should flush updates in the correct order across roots
872
+* should queue nested updates
873
+* should queue updates from during mount
874
+* calls componentWillReceiveProps setState callback properly
875
+* does not call render after a component as been deleted
876
+* marks top-level updates
877
+* throws in setState if the update callback is not a function
878
+* throws in replaceState if the update callback is not a function
879
+* throws in forceUpdate if the update callback is not a function
880
+* does not update one component twice in a batch (#2410)
881
+* does not update one component twice in a batch (#6371)
882
+* unstable_batchedUpdates should return value from a callback
883
+* unmounts and remounts a root in the same batch
884
+* handles reentrant mounting in synchronous mode
885
+* mounts and unmounts are sync even in a batch
886
+* does not re-render if state update is null
887
870
-src/renderers/dom/shared/eventPlugins/__tests__/EnterLeaveEventPlugin-test.js
871
-* should set relatedTarget properly in iframe
888
+src/renderers/__tests__/refs-destruction-test.js
889
+* should remove refs when destroying the parent
890
+* should remove refs when destroying the child
891
+* should not error when destroying child with ref asynchronously
892
873
-src/renderers/dom/shared/eventPlugins/__tests__/FallbackCompositionState-test.js
874
-* extracts value via `getText()`
875
-* extracts when inserted at start of text
876
-* extracts when inserted within text
877
-* extracts when inserted at end of text
878
-* extracts when inserted at start of text
879
-* extracts when inserted within text
880
-* extracts when inserted at end of text
893
+src/renderers/__tests__/refs-test.js
894
+* Allow refs to hop around children correctly
895
+* always has a value for this.refs
896
+* ref called correctly for stateless component when __DEV__ = false
897
+* ref called correctly for stateless component when __DEV__ = true
898
+* coerces numbers to strings
899
+* attaches, detaches from fiber component with stack layer
900
+* attaches, detaches from stack component with fiber layer
901
882
-src/renderers/dom/shared/eventPlugins/__tests__/SelectEventPlugin-test.js
883
-* should skip extraction if no listeners are present
884
-* should extract if an `onSelect` listener is present
902
+src/renderers/art/__tests__/ReactART-test.js
903
+* should have the correct lifecycle state
904
+* should render a reasonable SVG structure in SVG mode
905
+* should be able to reorder components
906
+* should be able to reorder many components
907
+* renders composite with lifecycle inside group
908
+* resolves refs before componentDidMount
909
+* resolves refs before componentDidUpdate
910
+* adds and updates event handlers
911
886
-src/renderers/dom/shared/eventPlugins/__tests__/SimpleEventPlugin-test.js
887
-* A non-interactive tags click when disabled
888
-* A non-interactive tags clicks bubble when disabled
889
-* does not register a click when clicking a child of a disabled element
890
-* triggers click events for children of disabled elements
891
-* triggers parent captured click events when target is a child of a disabled elements
892
-* triggers captured click events for children of disabled elements
893
-* should forward clicks when it starts out not disabled
894
-* should not forward clicks when it starts out disabled
895
-* should forward clicks when it becomes not disabled
896
-* should not forward clicks when it becomes disabled
897
-* should work correctly if the listener is changed
898
-* should forward clicks when it starts out not disabled
899
-* should not forward clicks when it starts out disabled
900
-* should forward clicks when it becomes not disabled
901
-* should not forward clicks when it becomes disabled
902
-* should work correctly if the listener is changed
903
-* should forward clicks when it starts out not disabled
904
-* should not forward clicks when it starts out disabled
905
-* should forward clicks when it becomes not disabled
906
-* should not forward clicks when it becomes disabled
907
-* should work correctly if the listener is changed
908
-* should forward clicks when it starts out not disabled
909
-* should not forward clicks when it starts out disabled
910
-* should forward clicks when it becomes not disabled
911
-* should not forward clicks when it becomes disabled
912
-* should work correctly if the listener is changed
913
-* does not add a local click to interactive elements
914
-* adds a local click listener to non-interactive elements
912
+src/renderers/dom/__tests__/ReactDOMProduction-test.js
913
+* should use prod fbjs
914
+* should use prod React
915
+* should handle a simple flow
916
+* should call lifecycle methods
917
+* should throw with an error code in production
918
+* should keep track of namespace across portals in production
919
916
-src/renderers/dom/shared/syntheticEvents/__tests__/SyntheticClipboardEvent-test.js
917
-* returns event's clipboardData
918
-* normalizes properties from the Event interface
919
-* is able to `preventDefault` and `stopPropagation`
920
-* is able to `persist`
920
+src/renderers/dom/fiber/__tests__/ReactDOMFiber-test.js
921
+* should render strings as children
922
+* should render numbers as children
923
+* should be called a callback argument
924
+* should call a callback argument when the same element is re-rendered
925
+* should render a component returning strings directly from render
926
+* should render a component returning numbers directly from render
927
+* finds the DOM Text node of a string child
928
+* finds the first child when a component returns a fragment
929
+* finds the first child even when fragment is nested
930
+* finds the first child even when first child renders null
931
+* should render one portal
932
+* should render many portals
933
+* should render nested portals
934
+* should reconcile portal children
935
+* should keep track of namespace across portals (simple)
936
+* should keep track of namespace across portals (medium)
937
+* should keep track of namespace across portals (complex)
938
+* should unwind namespaces on uncaught errors
939
+* should unwind namespaces on caught errors
940
+* should unwind namespaces on caught errors in a portal
941
+* should pass portal context when rendering subtree elsewhere
942
+* should update portal context if it changes due to setState
943
+* should update portal context if it changes due to re-render
944
+* findDOMNode should find dom element after expanding a fragment
945
+* should bubble events from the portal to the parent
946
+* should not onMouseLeave when staying in the portal
947
+* should not update event handlers until commit
948
+* should not crash encountering low-priority tree
949
+* throws if non-element passed to top-level render
950
+* throws if something other than false, null, or an element is returned from render
951
+* treats mocked render functions as if they return null
952
922
-src/renderers/dom/shared/syntheticEvents/__tests__/SyntheticEvent-test.js
923
-* should normalize `target` from the nativeEvent
924
-* should be able to `preventDefault`
925
-* should be prevented if nativeEvent is prevented
926
-* should be able to `stopPropagation`
927
-* should be able to `persist`
928
-* should be nullified if the synthetic event has called destructor and log warnings
929
-* should warn when setting properties of a destructored synthetic event
930
-* should warn if the synthetic event has been released when calling `preventDefault`
931
-* should warn if the synthetic event has been released when calling `stopPropagation`
932
-* should warn if Proxy is supported and the synthetic event is added a property
953
+src/renderers/dom/shared/__tests__/CSSProperty-test.js
954
+* should generate browser prefixes for its `isUnitlessNumber`
955
934
-src/renderers/dom/shared/syntheticEvents/__tests__/SyntheticKeyboardEvent-test.js
935
-* returns whatever getEventCharCode returns
936
-* returns 0
937
-* returns a passed keyCode
938
-* returns 0
939
-* returns whatever getEventCharCode returns
940
-* returns a passed keyCode
941
-* returns 0
942
-* normalizes properties from the Event interface
943
-* is able to `preventDefault` and `stopPropagation`
944
-* is able to `persist`
945
-
946
-src/renderers/dom/shared/syntheticEvents/__tests__/SyntheticWheelEvent-test.js
947
-* should normalize properties from the Event interface
948
-* should normalize properties from the MouseEvent interface
949
-* should normalize properties from the WheelEvent interface
950
-* should be able to `preventDefault` and `stopPropagation`
951
-* should be able to `persist`
952
-
953
-src/renderers/dom/shared/utils/__tests__/getEventCharCode-test.js
954
-* returns 13
955
-* returns charCode
956
-* returns 13
957
-* returns 0
958
-* returns keyCode
959
-* returns 13
960
-* returns 0
961
-
962
-src/renderers/dom/shared/utils/__tests__/getEventKey-test.js
963
-* returns a normalized value
964
-* returns a key
965
-* returns 'Enter'
966
-* returns a string from a charCode
967
-* returns a translated key
968
-* returns Unidentified
969
-* returns an empty string
970
-
971
-src/renderers/dom/shared/utils/__tests__/getNodeForCharacterOffset-test.js
972
-* should handle siblings
973
-* should handle trailing chars
974
-* should handle trees
975
-* should handle non-existent offset
976
-
977
-src/renderers/dom/shared/utils/__tests__/setInnerHTML-test.js
978
-* sets innerHTML on it
956
+src/renderers/dom/shared/__tests__/CSSPropertyOperations-test.js
957
+* should create markup for simple styles
958
+* should ignore undefined styles
959
+* should ignore null styles
960
+* should return null for no styles
961
+* should automatically append `px` to relevant styles
962
+* should trim values
963
+* should not append `px` to styles that might need a number
964
+* should create vendor-prefixed markup correctly
965
+* should set style attribute when styles exist
966
+* should not set style attribute when no styles exist
967
+* should warn when using hyphenated style names
968
+* should warn when updating hyphenated style names
969
+* warns when miscapitalizing vendored style names
970
+* should warn about style having a trailing semicolon
971
+* should warn about style containing a NaN value
972
980
-src/renderers/dom/shared/wrappers/__tests__/ReactDOMIframe-test.js
981
-* should trigger load events
973
+src/renderers/dom/shared/__tests__/DOMPropertyOperations-test.js
974
+* should create markup for simple properties
975
+* should work with the id attribute
976
+* should create markup for boolean properties
977
+* should create markup for booleanish properties
978
+* should create markup for custom attributes
979
+* should create markup for numeric properties
980
+* should allow custom properties on web components
981
+* should set values as properties by default
982
+* should set values as attributes if necessary
983
+* should set values as namespace attributes if necessary
984
+* should set values as boolean properties
985
+* should convert attribute values to string first
986
+* should not remove empty attributes for special properties
987
+* should remove for falsey boolean properties
988
+* should remove when setting custom attr to null
989
+* should use mutation method where applicable
990
+* should set className to empty string instead of null
991
+* should remove property properly for boolean properties
992
+* should remove property properly even with different name
993
+* should remove attributes for normal properties
994
+* should not remove attributes for special properties
995
+* should not leave all options selected when deleting multiple
996
+* should support custom attributes
997
983
-src/renderers/dom/shared/wrappers/__tests__/ReactDOMInput-test.js
984
-* should properly control a value even if no event listener exists
985
-* should control a value in reentrant events
986
-* should control values in reentrant events with different targets
987
-* should display `defaultValue` of number 0
988
-* only assigns defaultValue if it changes
989
-* should display "true" for `defaultValue` of `true`
990
-* should display "false" for `defaultValue` of `false`
991
-* should update `defaultValue` for uncontrolled input
992
-* should update `defaultValue` for uncontrolled date/time input
993
-* should take `defaultValue` when changing to uncontrolled input
994
-* should render defaultValue for SSR
995
-* should render value for SSR
996
-* should render name attribute if it is supplied
997
-* should render name attribute if it is supplied for SSR
998
-* should not render name attribute if it is not supplied
999
-* should not render name attribute if it is not supplied for SSR
1000
-* should display "foobar" for `defaultValue` of `objToString`
1001
-* should display `value` of number 0
1002
-* should allow setting `value` to `true`
1003
-* should allow setting `value` to `false`
1004
-* should allow setting `value` to `objToString`
1005
-* should not incur unnecessary DOM mutations
1006
-* should properly control a value of number `0`
1007
-* should have the correct target value
1008
-* should not set a value for submit buttons unnecessarily
1009
-* should control radio buttons
1010
-* should control radio buttons if the tree updates during render
1011
-* should warn with value and no onChange handler and readOnly specified
1012
-* should have a this value of undefined if bind is not used
1013
-* should warn with checked and no onChange handler with readOnly specified
1014
-* should update defaultValue to empty string
1015
-* should warn if value is null
1016
-* should warn if checked and defaultChecked props are specified
1017
-* should warn if value and defaultValue props are specified
1018
-* should warn if controlled input switches to uncontrolled (value is undefined)
1019
-* should warn if controlled input switches to uncontrolled (value is null)
1020
-* should warn if controlled input switches to uncontrolled with defaultValue
1021
-* should warn if uncontrolled input (value is undefined) switches to controlled
1022
-* should warn if uncontrolled input (value is null) switches to controlled
1023
-* should warn if controlled checkbox switches to uncontrolled (checked is undefined)
1024
-* should warn if controlled checkbox switches to uncontrolled (checked is null)
1025
-* should warn if controlled checkbox switches to uncontrolled with defaultChecked
1026
-* should warn if uncontrolled checkbox (checked is undefined) switches to controlled
1027
-* should warn if uncontrolled checkbox (checked is null) switches to controlled
1028
-* should warn if controlled radio switches to uncontrolled (checked is undefined)
1029
-* should warn if controlled radio switches to uncontrolled (checked is null)
1030
-* should warn if controlled radio switches to uncontrolled with defaultChecked
1031
-* should warn if uncontrolled radio (checked is undefined) switches to controlled
1032
-* should warn if uncontrolled radio (checked is null) switches to controlled
1033
-* should not warn if radio value changes but never becomes controlled
1034
-* should not warn if radio value changes but never becomes uncontrolled
1035
-* should warn if radio checked false changes to become uncontrolled
1036
-* sets type, step, min, max before value always
1037
-* sets value properly with type coming later in props
1038
-* does not raise a validation warning when it switches types
1039
-* resets value of date/time input to fix bugs in iOS Safari
998
+src/renderers/dom/shared/__tests__/ReactBrowserEventEmitter-test.js
999
+* should store a listener correctly
1000
+* should retrieve a listener correctly
1001
+* should clear all handlers when asked to
1002
+* should invoke a simple handler registered on a node
1003
+* should not invoke handlers if ReactBrowserEventEmitter is disabled
1004
+* should bubble simply
1005
+* should bubble to the right handler after an update
1006
+* should continue bubbling if an error is thrown
1007
+* should set currentTarget
1008
+* should support stopPropagation()
1009
+* should stop after first dispatch if stopPropagation
1010
+* should not stopPropagation if false is returned
1011
+* should invoke handlers that were removed while bubbling
1012
+* should not invoke newly inserted handlers while bubbling
1013
+* should have mouse enter simulated by test utils
1014
+* should infer onTouchTap from a touchStart/End
1015
+* should infer onTouchTap from when dragging below threshold
1016
+* should not onTouchTap from when dragging beyond threshold
1017
+* should listen to events only once
1018
+* should work with event plugins without dependencies
1019
+* should work with event plugins with dependencies
1020
+* should bubble onTouchTap
1021
+* should not crash ensureScrollValueMonitoring when createEvent returns null
1022
1041
-src/renderers/dom/shared/wrappers/__tests__/ReactDOMOption-test.js
1042
-* should flatten children to a string
1043
-* should ignore and warn invalid children types
1044
-* should ignore null/undefined/false children without warning
1045
-* should be able to use dangerouslySetInnerHTML on option
1046
-* should set attribute for empty value
1047
-* should allow ignoring `value` on option
1023
+src/renderers/dom/shared/__tests__/ReactDOM-test.js
1024
+* allows a DOM element to be used with a string
1025
+* should allow children to be passed as an argument
1026
+* should overwrite props.children with children argument
1027
+* should purge the DOM cache when removing nodes
1028
+* allow React.DOM factories to be called without warnings
1029
+* throws in render() if the mount callback is not a function
1030
+* throws in render() if the update callback is not a function
1031
+* preserves focus
1032
+* calls focus() on autoFocus elements after they have been mounted to the DOM
1033
1049
-src/renderers/dom/shared/wrappers/__tests__/ReactDOMSelect-test.js
1050
-* should allow setting `defaultValue`
1051
-* should not throw with `defaultValue` and without children
1052
-* should not control when using `defaultValue`
1053
-* should allow setting `defaultValue` with multiple
1054
-* should allow setting `value`
1055
-* should not throw with `value` and without children
1056
-* should allow setting `value` with multiple
1057
-* should not select other options automatically
1058
-* should reset child options selected when they are changed and `value` is set
1059
-* should allow setting `value` with `objectToString`
1060
-* should allow switching to multiple
1061
-* should allow switching from multiple
1062
-* should remember value when switching to uncontrolled
1063
-* should remember updated value when switching to uncontrolled
1064
-* should support server-side rendering
1065
-* should support server-side rendering with defaultValue
1066
-* should support server-side rendering with multiple
1067
-* should not control defaultValue if readding options
1068
-* should warn if value is null
1069
-* should refresh state on change
1070
-* should warn if value and defaultValue props are specified
1071
-* should be able to safely remove select onChange
1072
-* should select grandchild options nested inside an optgroup
1034
+src/renderers/dom/shared/__tests__/ReactDOMComponent-test.js
1035
+* should handle className
1036
+* should gracefully handle various style value types
1037
+* should not update styles when mutating a proxy style object
1038
+* should throw when mutating style objectsd
1039
+* should warn for unknown prop
1040
+* should group multiple unknown prop warnings together
1041
+* should warn for onDblClick prop
1042
+* should not warn for "0" as a unitless style value
1043
+* should warn nicely about NaN in style
1044
+* should update styles if initially null
1045
+* should update styles if updated to null multiple times
1046
+* should allow named slot projection on both web components and regular DOM elements
1047
+* should skip reserved props on web components
1048
+* should skip dangerouslySetInnerHTML on web components
1049
+* should render null and undefined as empty but print other falsy values
1050
+* should remove attributes
1051
+* should remove properties
1052
+* should properly update custom attributes on custom elements
1053
+* should clear a single style prop when changing `style`
1054
+* should reject attribute key injection attack on markup
1055
+* should reject attribute key injection attack on update
1056
+* should update arbitrary attributes for tags containing dashes
1057
+* should clear all the styles when removing `style`
1058
+* should update styles when `style` changes from null to object
1059
+* should not reset innerHTML for when children is null
1060
+* should reset innerHTML when switching from a direct text child to an empty child
1061
+* should empty element when removing innerHTML
1062
+* should transition from string content to innerHTML
1063
+* should transition from innerHTML to string content
1064
+* should transition from innerHTML to children in nested el
1065
+* should transition from children to innerHTML in nested el
1066
+* should not incur unnecessary DOM mutations for attributes
1067
+* should not incur unnecessary DOM mutations for string properties
1068
+* should not incur unnecessary DOM mutations for boolean properties
1069
+* should ignore attribute whitelist for elements with the "is: attribute
1070
+* should not update when switching between null/undefined
1071
+* handles multiple child updates without interference
1072
+* should generate the correct markup with className
1073
+* should escape style names and values
1074
+* should handle dangerouslySetInnerHTML
1075
+* should work error event on <source> element
1076
+* should not duplicate uppercased selfclosing tags
1077
+* should warn on upper case HTML tags, not SVG nor custom tags
1078
+* should warn against children for void elements
1079
+* should warn against dangerouslySetInnerHTML for void elements
1080
+* should include owner rather than parent in warnings
1081
+* should emit a warning once for a named custom component using shady DOM
1082
+* should emit a warning once for an unnamed custom component using shady DOM
1083
+* should treat menuitem as a void element but still create the closing tag
1084
+* should validate against multiple children props
1085
+* should validate against use of innerHTML
1086
+* should validate use of dangerouslySetInnerHTML
1087
+* should validate use of dangerouslySetInnerHTML
1088
+* should allow {__html: null}
1089
+* should warn about contentEditable and children
1090
+* should respect suppressContentEditableWarning
1091
+* should validate against invalid styles
1092
+* should track input values
1093
+* should track textarea values
1094
+* should warn for children on void elements
1095
+* should support custom elements which extend native elements
1096
+* should warn against children for void elements
1097
+* should warn against dangerouslySetInnerHTML for void elements
1098
+* should validate against multiple children props
1099
+* should warn about contentEditable and children
1100
+* should validate against invalid styles
1101
+* should report component containing invalid styles
1102
+* should properly escape text content and attributes values
1103
+* unmounts children before unsetting DOM node info
1104
+* should warn about the `onScroll` issue when unsupported (IE8)
1105
+* should throw when an invalid tag name is used server-side
1106
+* should throw when an attack vector is used server-side
1107
+* should throw when an invalid tag name is used
1108
+* should throw when an attack vector is used
1109
+* warns on invalid nesting
1110
+* warns on invalid nesting at root
1111
+* warns nicely for table rows
1112
+* gives useful context in warnings
1113
+* should warn about incorrect casing on properties
1114
+* should warn about incorrect casing on event handlers
1115
+* should warn about class
1116
+* should warn about props that are no longer supported
1117
+* should warn about props that are no longer supported (ssr)
1118
+* gives source code refs for unknown prop warning
1119
+* gives source code refs for unknown prop warning for update render
1120
+* gives source code refs for unknown prop warning for exact elements
1121
+* gives source code refs for unknown prop warning for exact elements in composition
1122
+* should suggest property name if available
1123
1074
-src/renderers/dom/shared/wrappers/__tests__/ReactDOMTextarea-test.js
1075
-* should allow setting `defaultValue`
1076
-* should display `defaultValue` of number 0
1077
-* should display "false" for `defaultValue` of `false`
1078
-* should display "foobar" for `defaultValue` of `objToString`
1079
-* should set defaultValue
1080
-* should not render value as an attribute
1081
-* should display `value` of number 0
1082
-* should update defaultValue to empty string
1083
-* should allow setting `value` to `giraffe`
1084
-* should render defaultValue for SSR
1085
-* should render value for SSR
1086
-* should allow setting `value` to `true`
1087
-* should allow setting `value` to `false`
1088
-* should allow setting `value` to `objToString`
1089
-* should take updates to `defaultValue` for uncontrolled textarea
1090
-* should take updates to children in lieu of `defaultValue` for uncontrolled textarea
1091
-* should not incur unnecessary DOM mutations
1092
-* should properly control a value of number `0`
1093
-* should treat children like `defaultValue`
1094
-* should keep value when switching to uncontrolled element if not changed
1095
-* should keep value when switching to uncontrolled element if changed
1096
-* should allow numbers as children
1097
-* should allow booleans as children
1098
-* should allow objects as children
1099
-* should throw with multiple or invalid children
1100
-* should unmount
1101
-* should warn if value is null
1102
-* should warn if value and defaultValue are specified
1124
+src/renderers/dom/shared/__tests__/ReactDOMComponentTree-test.js
1125
+* finds nodes for instances
1126
+* finds instances for nodes
1127
1104
-src/renderers/native/__tests__/ReactNativeAttributePayload-test.js
1105
-* should work with simple example
1106
-* should skip fields that are equal
1107
-* should remove fields
1108
-* should remove fields that are set to undefined
1109
-* should ignore invalid fields
1110
-* should use the diff attribute
1111
-* should not use the diff attribute on addition/removal
1112
-* should do deep diffs of Objects by default
1113
-* should work with undefined styles
1114
-* should work with empty styles
1115
-* should flatten nested styles and predefined styles
1116
-* should reset a value to a previous if it is removed
1117
-* should not clear removed props if they are still in another slot
1118
-* should clear a prop if a later style is explicit null/undefined
1119
-* should convert functions to booleans
1128
+src/renderers/dom/shared/__tests__/ReactDOMIDOperations-test.js
1129
+* should update innerHTML and preserve whitespace
1130
1121
-src/renderers/native/__tests__/ReactNativeEvents-test.js
1122
-* handles events
1131
+src/renderers/dom/shared/__tests__/ReactDOMInvalidARIAHook-test.js
1132
+* should allow valid aria-* props
1133
+* should warn for one invalid aria-* prop
1134
+* should warn for many invalid aria-* props
1135
+* should warn for an improperly cased aria-* prop
1136
1124
-src/renderers/native/__tests__/ReactNativeMount-test.js
1125
-* should be able to create and render a native component
1126
-* should be able to create and update a native component
1127
-* returns the correct instance and calls it in the callback
1137
+src/renderers/dom/shared/__tests__/ReactDOMSVG-test.js
1138
+* creates initial namespaced markup
1139
+* creates elements with SVG namespace inside SVG tag during mount
1140
+* creates elements with SVG namespace inside SVG tag during update
1141
+* can render SVG into a non-React SVG tree
1142
+* can render HTML into a foreignObject in non-React SVG tree
1143
1129
-src/renderers/shared/__tests__/ReactDebugTool-test.js
1130
-* should add and remove hooks
1131
-* warns once when an error is thrown in hook
1132
-* returns isProfiling state
1144
+src/renderers/dom/shared/__tests__/ReactDOMTextComponent-test.js
1145
+* updates a mounted text component in place
1146
+* can be toggled in and out of the markup
1147
+* can reconcile text from pre-rendered markup
1148
1134
-src/renderers/shared/__tests__/ReactPerf-test.js
1135
-* should not count initial render as waste
1136
-* should not count unmount as waste
1137
-* should not count content update as waste
1138
-* should not count child addition as waste
1139
-* should not count child removal as waste
1140
-* should not count property update as waste
1141
-* should not count style update as waste
1142
-* should not count property removal as waste
1143
-* should not count raw HTML update as waste
1144
-* should not count child reordering as waste
1145
-* should not count text update as waste
1146
-* should not count replacing null with a host as waste
1147
-* should not count replacing a host with null as waste
1148
-* warns once when using getMeasurementsSummaryMap
1149
-* warns once when using printDOM
1150
-* returns isRunning state
1151
-* start has no effect when already running
1152
-* stop has no effect when already stopped
1153
-* should print console error only once
1154
-* should not print errant warnings if render() throws
1155
-* should not print errant warnings if componentWillMount() throws
1156
-* should not print errant warnings if componentDidMount() throws
1157
-* should not print errant warnings if portal throws in render()
1158
-* should not print errant warnings if portal throws in componentWillMount()
1159
-* should not print errant warnings if portal throws in componentDidMount()
1149
+src/renderers/dom/shared/__tests__/ReactEventIndependence-test.js
1150
+* does not crash with other react inside
1151
+* does not crash with other react outside
1152
+* does not when event fired on unmounted tree
1153
1161
-src/renderers/shared/fiber/__tests__/ReactCoroutine-test.js
1162
-* should render a coroutine
1163
-* should update a coroutine
1164
-* should unmount a composite in a coroutine
1165
-* should handle deep updates in coroutine
1154
+src/renderers/dom/shared/__tests__/ReactEventListener-test.js
1155
+* should dispatch events from outside React tree
1156
+* should propagate events one level down
1157
+* should propagate events two levels down
1158
+* should not get confused by disappearing elements
1159
+* should batch between handlers from different roots
1160
+* should not fire duplicate events for a React DOM tree
1161
1167
-src/renderers/shared/fiber/__tests__/ReactIncremental-test.js
1168
-* should render a simple component
1169
-* should render a simple component, in steps if needed
1170
-* updates a previous render
1171
-* can cancel partially rendered work and restart
1172
-* can deprioritize unfinished work and resume it later
1173
-* can deprioritize a tree from without dropping work
1174
-* can resume work in a subtree even when a parent bails out
1175
-* can resume work in a bailed subtree within one pass
1176
-* can reuse work done after being preempted
1177
-* can reuse work that began but did not complete, after being preempted
1178
-* can reuse work if shouldComponentUpdate is false, after being preempted
1179
-* memoizes work even if shouldComponentUpdate returns false
1180
-* can update in the middle of a tree using setState
1181
-* can queue multiple state updates
1182
-* can use updater form of setState
1183
-* can call setState inside update callback
1184
-* can replaceState
1185
-* can forceUpdate
1186
-* can call sCU while resuming a partly mounted component
1187
-* gets new props when setting state on a partly updated component
1188
-* calls componentWillMount twice if the initial render is aborted
1189
-* uses state set in componentWillMount even if initial render was aborted
1190
-* calls componentWill* twice if an update render is aborted
1191
-* does not call componentWillReceiveProps for state-only updates
1192
-* skips will/DidUpdate when bailing unless an update was already in progress
1193
-* performs batched updates at the end of the batch
1194
-* can nest batchedUpdates
1195
-* can handle if setState callback throws
1196
-* merges and masks context
1197
-* does not leak own context into context provider
1198
-* provides context when reusing work
1199
-* reads context when setState is below the provider
1200
-* reads context when setState is above the provider
1201
-* maintains the correct context when providers bail out due to low priority
1202
-* maintains the correct context when unwinding due to an error in render
1203
-* should not recreate masked context unless inputs have changed
1204
-* should reuse memoized work if pointers are updated before calling lifecycles
1162
+src/renderers/dom/shared/__tests__/ReactMount-test.js
1163
+* throws when given a non-node
1164
+* throws when given a string
1165
+* throws when given a factory
1166
+* should render different components in same root
1167
+* should unmount and remount if the key changes
1168
+* should reuse markup if rendering to the same target twice
1169
+* should not warn if mounting into non-empty node
1170
+* should warn when mounting into document.body
1171
+* should warn if render removes React-rendered children
1172
+* should warn if the unmounted node was rendered by another copy of React
1173
+* passes the correct callback context
1174
1206
-src/renderers/shared/fiber/__tests__/ReactIncrementalErrorHandling-test.js
1207
-* catches render error in a boundary during full deferred mounting
1208
-* catches render error in a boundary during partial deferred mounting
1209
-* catches render error in a boundary during animation mounting
1210
-* catches render error in a boundary during synchronous mounting
1211
-* catches render error in a boundary during batched mounting
1212
-* propagates an error from a noop error boundary during full deferred mounting
1213
-* propagates an error from a noop error boundary during partial deferred mounting
1214
-* propagates an error from a noop error boundary during animation mounting
1215
-* propagates an error from a noop error boundary during synchronous mounting
1216
-* propagates an error from a noop error boundary during batched mounting
1217
-* applies batched updates regardless despite errors in scheduling
1218
-* applies nested batched updates despite errors in scheduling
1219
-* applies sync updates regardless despite errors in scheduling
1220
-* can schedule updates after uncaught error in render on mount
1221
-* can schedule updates after uncaught error in render on update
1222
-* can schedule updates after uncaught error during umounting
1223
-* continues work on other roots despite caught errors
1224
-* continues work on other roots despite uncaught errors
1225
-* unwinds the context stack correctly on error
1226
-* catches reconciler errors in a boundary during mounting
1227
-* catches reconciler errors in a boundary during update
1228
-* recovers from uncaught reconciler errors
1229
-* unmounts components with uncaught errors
1230
-* does not interrupt unmounting if detaching a ref throws
1231
-* handles error thrown by host config while working on failed root
1232
-* handles error thrown by top-level callback
1233
-* should log errors that occur during the begin phase
1234
-* should log errors that occur during the commit phase
1235
-* should ignore errors thrown in log method to prevent cycle
1236
-* should relay info about error boundary and retry attempts if applicable
1175
+src/renderers/dom/shared/__tests__/ReactMountDestruction-test.js
1176
+* should destroy a react root upon request
1177
+
1178
+src/renderers/dom/shared/__tests__/ReactServerRendering-test.js
1179
+* should generate simple markup
1180
+* should generate simple markup for self-closing tags
1181
+* should generate simple markup for attribute with `>` symbol
1182
+* should generate comment markup for component returns null
1183
+* should render composite components
1184
+* should only execute certain lifecycle methods
1185
+* should throw with silly args
1186
+* should not put checksum and React ID on components
1187
+* should not put checksum and React ID on text components
1188
+* should only execute certain lifecycle methods
1189
+* should throw with silly args
1190
+* allows setState in componentWillMount without using DOM
1191
+* renders components with different batching strategies
1192
+* warns with a no-op when an async setState is triggered
1193
+* warns with a no-op when an async replaceState is triggered
1194
+* warns with a no-op when an async forceUpdate is triggered
1195
+* should warn when children are mutated during render
1196
+
1197
+src/renderers/dom/shared/__tests__/escapeTextContentForBrowser-test.js
1198
+* should escape boolean to string
1199
+* should escape object to string
1200
+* should escape number to string
1201
+* should escape string
1202
+
1203
+src/renderers/dom/shared/__tests__/findDOMNode-test.js
1204
+* findDOMNode should return null if passed null
1205
+* findDOMNode should find dom element
1206
+* findDOMNode should find dom element after an update from null
1207
+* findDOMNode should reject random objects
1208
+* findDOMNode should reject unmounted objects with render func
1209
+* findDOMNode should not throw an error when called within a component that is not mounted
1210
+
1211
+src/renderers/dom/shared/__tests__/inputValueTracking-test.js
1212
+* should attach tracker to wrapper state
1213
+* should define `value` on the instance node
1214
+* should define `checked` on the instance node
1215
+* should initialize with the current value
1216
+* should initialize with the current `checked`
1217
+* should track value changes
1218
+* should tracked`checked` changes
1219
+* should update value manually
1220
+* should coerce value to a string
1221
+* should update value if it changed and return result
1222
+* should track value and return true when updating untracked instance
1223
+* should return tracker from node
1224
+* should stop tracking
1225
1238
-src/renderers/shared/fiber/__tests__/ReactIncrementalReflection-test.js
1239
-* handles isMounted even when the initial render is deferred
1240
-* handles isMounted when an unmount is deferred
1241
-* finds no node before insertion and correct node before deletion
1226
+src/renderers/dom/shared/__tests__/quoteAttributeValueForBrowser-test.js
1227
+* should escape boolean to string
1228
+* should escape object to string
1229
+* should escape number to string
1230
+* should escape string
1231
1243
-src/renderers/shared/fiber/__tests__/ReactIncrementalScheduling-test.js
1244
-* schedules and flushes deferred work
1245
-* schedules and flushes animation work
1246
-* searches for work on other roots once the current root completes
1247
-* schedules an animation callback when there`s leftover animation work
1248
-* schedules top-level updates in order of priority
1249
-* schedules top-level updates with same priority in order of insertion
1250
-* works on deferred roots in the order they were scheduled
1251
-* schedules sync updates when inside componentDidMount/Update
1252
-* can opt-in to deferred/animation scheduling inside componentDidMount/Update
1253
-* performs Task work even after time runs out
1254
-* does not perform animation work after time runs out
1255
-* can opt-out of batching using unbatchedUpdates
1256
-* nested updates are always deferred, even inside unbatchedUpdates
1232
+src/renderers/dom/shared/__tests__/validateDOMNesting-test.js
1233
+* allows any tag with no context
1234
+* allows valid nestings
1235
+* prevents problematic nestings
1236
1258
-src/renderers/shared/fiber/__tests__/ReactIncrementalSideEffects-test.js
1259
-* can update child nodes of a host instance
1260
-* can update child nodes of a fragment
1261
-* can update child nodes rendering into text nodes
1262
-* can deletes children either components, host or text
1263
-* can delete a child that changes type - implicit keys
1264
-* can delete a child that changes type - explicit keys
1265
-* does not update child nodes if a flush is aborted
1266
-* preserves a previously rendered node when deprioritized
1267
-* can reuse side-effects after being preempted
1268
-* can reuse side-effects after being preempted, if shouldComponentUpdate is false
1269
-* can update a completed tree before it has a chance to commit
1270
-* updates a child even though the old props is empty
1271
-* can defer side-effects and resume them later on
1272
-* can defer side-effects and reuse them later - complex
1273
-* deprioritizes setStates that happens within a deprioritized tree
1274
-* calls callback after update is flushed
1275
-* calls setState callback even if component bails out
1276
-* calls componentWillUnmount after a deletion, even if nested
1277
-* calls componentDidMount/Update after insertion/update
1278
-* invokes ref callbacks after insertion/update/unmount
1279
-* supports string refs
1237
+src/renderers/dom/shared/eventPlugins/__tests__/BeforeInputEventPlugin-test.js
1238
+* extract onBeforeInput from native textinput events
1239
+* extract onBeforeInput from fallback objects
1240
1281
-src/renderers/shared/fiber/__tests__/ReactIncrementalUpdates-test.js
1282
-* applies updates in order of priority
1283
-* applies updates with equal priority in insertion order
1284
-* only drops updates with equal or lesser priority when replaceState is called
1285
-* can abort an update, schedule additional updates, and resume
1286
-* can abort an update, schedule a replaceState, and resume
1287
-* passes accumulation of previous updates to replaceState updater function
1288
-* does not call callbacks that are scheduled by another callback until a later commit
1289
-* gives setState during reconciliation the same priority as whatever level is currently reconciling
1290
-* enqueues setState inside an updater function as if the in-progress update is progressed (and warns)
1241
+src/renderers/dom/shared/eventPlugins/__tests__/ChangeEventPlugin-test.js
1242
+* should fire change for checkbox input
1243
+* should catch setting the value programmatically
1244
+* should not fire change when setting the value programmatically
1245
+* should not fire change when setting checked programmatically
1246
+* should unmount
1247
+* should only fire change for checked radio button once
1248
+* should deduplicate input value change events
1249
+* should listen for both change and input events when supported
1250
+* should only fire events when the value changes for range inputs
1251
1292
-src/renderers/shared/fiber/__tests__/ReactTopLevelFragment-test.js
1293
-* should render a simple fragment at the top of a component
1294
-* should preserve state when switching from a single child
1295
-* should not preserve state when switching to a nested array
1296
-* preserves state if an implicit key slot switches from/to null
1297
-* should preserve state in a reorder
1252
+src/renderers/dom/shared/eventPlugins/__tests__/EnterLeaveEventPlugin-test.js
1253
+* should set relatedTarget properly in iframe
1254
1299
-src/renderers/shared/fiber/__tests__/ReactTopLevelText-test.js
1300
-* should render a component returning strings directly from render
1301
-* should render a component returning numbers directly from render
1255
+src/renderers/dom/shared/eventPlugins/__tests__/FallbackCompositionState-test.js
1256
+* extracts value via `getText()`
1257
+* extracts when inserted at start of text
1258
+* extracts when inserted within text
1259
+* extracts when inserted at end of text
1260
+* extracts when inserted at start of text
1261
+* extracts when inserted within text
1262
+* extracts when inserted at end of text
1263
1303
-src/renderers/shared/hooks/__tests__/ReactComponentTreeHook-test.js
1304
-* gets created
1305
-* is created during mounting
1306
-* is created when calling renderToString during render
1264
+src/renderers/dom/shared/eventPlugins/__tests__/SelectEventPlugin-test.js
1265
+* should skip extraction if no listeners are present
1266
+* should extract if an `onSelect` listener is present
1267
1308
-src/renderers/shared/hooks/__tests__/ReactComponentTreeHook-test.native.js
1309
-* uses displayName or Unknown for classic components
1310
-* uses displayName, name, or ReactComponent for modern components
1311
-* uses displayName, name, or Object for factory components
1312
-* uses displayName, name, or StatelessComponent for functional components
1313
-* reports a host tree correctly
1314
-* reports a simple tree with composites correctly
1315
-* reports a tree with composites correctly
1316
-* ignores null children
1317
-* ignores false children
1318
-* reports text nodes as children
1319
-* reports a single text node as a child
1320
-* reports a single number node as a child
1321
-* reports a zero as a child
1322
-* skips empty nodes for multiple children
1323
-* updates text of a single text child
1324
-* updates from no children to a single text child
1325
-* updates from a single text child to no children
1326
-* updates from no children to multiple text children
1327
-* updates from multiple text children to no children
1328
-* updates from one text child to multiple text children
1329
-* updates from multiple text children to one text child
1330
-* updates text nodes when reordering
1331
-* updates host nodes when reordering with keys
1332
-* updates host nodes when reordering with keys
1333
-* updates a single composite child of a different type
1334
-* updates a single composite child of the same type
1335
-* updates from no children to a single composite child
1336
-* updates from a single composite child to no children
1337
-* updates mixed children
1338
-* updates with a host child
1339
-* updates from null to a host child
1340
-* updates from a host child to null
1341
-* updates from a host child to a composite child
1342
-* updates from a composite child to a host child
1343
-* updates from null to a composite child
1344
-* updates from a composite child to null
1345
-* updates with a host child
1346
-* updates from null to a host child
1347
-* updates from a host child to null
1348
-* updates from a host child to a composite child
1349
-* updates from a composite child to a host child
1350
-* updates from null to a composite child
1351
-* updates from a composite child to null
1352
-* tracks owner correctly
1353
-* purges unmounted components automatically
1354
-* reports update counts
1355
-* does not report top-level wrapper as a root
1268
+src/renderers/dom/shared/eventPlugins/__tests__/SimpleEventPlugin-test.js
1269
+* A non-interactive tags click when disabled
1270
+* A non-interactive tags clicks bubble when disabled
1271
+* does not register a click when clicking a child of a disabled element
1272
+* triggers click events for children of disabled elements
1273
+* triggers parent captured click events when target is a child of a disabled elements
1274
+* triggers captured click events for children of disabled elements
1275
+* should forward clicks when it starts out not disabled
1276
+* should not forward clicks when it starts out disabled
1277
+* should forward clicks when it becomes not disabled
1278
+* should not forward clicks when it becomes disabled
1279
+* should work correctly if the listener is changed
1280
+* should forward clicks when it starts out not disabled
1281
+* should not forward clicks when it starts out disabled
1282
+* should forward clicks when it becomes not disabled
1283
+* should not forward clicks when it becomes disabled
1284
+* should work correctly if the listener is changed
1285
+* should forward clicks when it starts out not disabled
1286
+* should not forward clicks when it starts out disabled
1287
+* should forward clicks when it becomes not disabled
1288
+* should not forward clicks when it becomes disabled
1289
+* should work correctly if the listener is changed
1290
+* should forward clicks when it starts out not disabled
1291
+* should not forward clicks when it starts out disabled
1292
+* should forward clicks when it becomes not disabled
1293
+* should not forward clicks when it becomes disabled
1294
+* should work correctly if the listener is changed
1295
+* does not add a local click to interactive elements
1296
+* adds a local click listener to non-interactive elements
1297
1357
-src/renderers/shared/hooks/__tests__/ReactHostOperationHistoryHook-test.js
1358
-* gets ignored for composite roots that return null
1359
-* gets recorded during an update
1360
-* gets recorded as a removal during an update
1361
-* gets recorded during an update
1362
-* gets recorded during an update
1363
-* gets ignored if new text is equal
1364
-* gets ignored if new text is equal
1365
-* gets ignored if the type has not changed
1366
-* gets ignored if new html is equal
1298
+src/renderers/dom/shared/syntheticEvents/__tests__/SyntheticClipboardEvent-test.js
1299
+* returns event's clipboardData
1300
+* normalizes properties from the Event interface
1301
+* is able to `preventDefault` and `stopPropagation`
1302
+* is able to `persist`
1303
1368
-src/renderers/shared/shared/__tests__/ReactChildReconciler-test.js
1369
-* warns for duplicated array keys
1370
-* warns for duplicated array keys with component stack info
1371
-* warns for duplicated iterable keys
1372
-* warns for duplicated iterable keys with component stack info
1304
+src/renderers/dom/shared/syntheticEvents/__tests__/SyntheticEvent-test.js
1305
+* should normalize `target` from the nativeEvent
1306
+* should be able to `preventDefault`
1307
+* should be prevented if nativeEvent is prevented
1308
+* should be able to `stopPropagation`
1309
+* should be able to `persist`
1310
+* should be nullified if the synthetic event has called destructor and log warnings
1311
+* should warn when setting properties of a destructored synthetic event
1312
+* should warn if the synthetic event has been released when calling `preventDefault`
1313
+* should warn if the synthetic event has been released when calling `stopPropagation`
1314
+* should warn if Proxy is supported and the synthetic event is added a property
1315
1374
-src/renderers/shared/shared/__tests__/ReactComponent-test.js
1375
-* should throw on invalid render targets
1376
-* should throw when supplying a ref outside of render method
1377
-* should warn when children are mutated during render
1378
-* should warn when children are mutated during update
1379
-* should support refs on owned components
1380
-* should not have refs on unmounted components
1381
-* should support new-style refs
1382
-* should support new-style refs with mixed-up owners
1383
-* should call refs at the correct time
1384
-* fires the callback after a component is rendered
1385
-* throws usefully when rendering badly-typed elements
1386
-* includes owner name in the error about badly-typed elements
1316
+src/renderers/dom/shared/syntheticEvents/__tests__/SyntheticKeyboardEvent-test.js
1317
+* returns whatever getEventCharCode returns
1318
+* returns 0
1319
+* returns a passed keyCode
1320
+* returns 0
1321
+* returns whatever getEventCharCode returns
1322
+* returns a passed keyCode
1323
+* returns 0
1324
+* normalizes properties from the Event interface
1325
+* is able to `preventDefault` and `stopPropagation`
1326
+* is able to `persist`
1327
+
1328
+src/renderers/dom/shared/syntheticEvents/__tests__/SyntheticWheelEvent-test.js
1329
+* should normalize properties from the Event interface
1330
+* should normalize properties from the MouseEvent interface
1331
+* should normalize properties from the WheelEvent interface
1332
+* should be able to `preventDefault` and `stopPropagation`
1333
+* should be able to `persist`
1334
+
1335
+src/renderers/dom/shared/utils/__tests__/getEventCharCode-test.js
1336
+* returns 13
1337
+* returns charCode
1338
+* returns 13
1339
+* returns 0
1340
+* returns keyCode
1341
+* returns 13
1342
+* returns 0
1343
+
1344
+src/renderers/dom/shared/utils/__tests__/getEventKey-test.js
1345
+* returns a normalized value
1346
+* returns a key
1347
+* returns 'Enter'
1348
+* returns a string from a charCode
1349
+* returns a translated key
1350
+* returns Unidentified
1351
+* returns an empty string
1352
+
1353
+src/renderers/dom/shared/utils/__tests__/getNodeForCharacterOffset-test.js
1354
+* should handle siblings
1355
+* should handle trailing chars
1356
+* should handle trees
1357
+* should handle non-existent offset
1358
1388
-src/renderers/shared/shared/__tests__/ReactComponentLifeCycle-test.js
1389
-* should not reuse an instance when it has been unmounted
1390
-* it should fire onDOMReady when already in onDOMReady
1391
-* throws when accessing state in componentWillMount
1392
-* should allow update state inside of componentWillMount
1393
-* should not allow update state inside of getInitialState
1394
-* isMounted should return false when unmounted
1395
-* should not throw when updating an auxiliary component
1396
-* should allow state updates in componentDidMount
1397
-* should call nested lifecycle methods in the right order
1398
-* calls effects on module-pattern component
1359
+src/renderers/dom/shared/utils/__tests__/setInnerHTML-test.js
1360
+* sets innerHTML on it
1361
1400
-src/renderers/shared/shared/__tests__/ReactCompositeComponent-test.js
1401
-* should support module pattern components
1402
-* should support rendering to different child types over time
1403
-* should not thrash a server rendered layout with client side one
1404
-* should react to state changes from callbacks
1405
-* should rewire refs when rendering to different child types
1406
-* should not cache old DOM nodes when switching constructors
1407
-* should auto bind methods and values correctly
1408
-* should not pass this to getDefaultProps
1409
-* should use default values for undefined props
1410
-* should not mutate passed-in props object
1411
-* should silently allow `setState`, not call cb on unmounting components
1412
-* should cleanup even if render() fatals
1413
-* should call componentWillUnmount before unmounting
1414
-* should warn when shouldComponentUpdate() returns undefined
1415
-* should warn when componentDidUnmount method is defined
1416
-* should pass context to children when not owner
1417
-* should skip update when rerendering element in container
1418
-* should pass context when re-rendered for static child
1419
-* should pass context when re-rendered for static child within a composite component
1420
-* should pass context transitively
1421
-* should pass context when re-rendered
1422
-* unmasked context propagates through updates
1423
-* should trigger componentWillReceiveProps for context changes
1424
-* only renders once if updated in componentWillReceiveProps
1425
-* only renders once if updated in componentWillReceiveProps when batching
1426
-* should update refs if shouldComponentUpdate gives false
1427
-* should allow access to findDOMNode in componentWillUnmount
1428
-* context should be passed down from the parent
1429
-* should replace state
1430
-* should support objects with prototypes as state
1431
-* should not warn about unmounting during unmounting
1432
-* should warn when mutated props are passed
1433
-* should only call componentWillUnmount once
1434
-* prepares new child before unmounting old
1362
+src/renderers/dom/shared/wrappers/__tests__/ReactDOMIframe-test.js
1363
+* should trigger load events
1364
1436
-src/renderers/shared/shared/__tests__/ReactCompositeComponentDOMMinimalism-test.js
1437
-* should not render extra nodes for non-interpolated text
1438
-* should not render extra nodes for non-interpolated text
1439
-* should not render extra nodes for non-interpolated text
1365
+src/renderers/dom/shared/wrappers/__tests__/ReactDOMInput-test.js
1366
+* should properly control a value even if no event listener exists
1367
+* should control a value in reentrant events
1368
+* should control values in reentrant events with different targets
1369
+* should display `defaultValue` of number 0
1370
+* only assigns defaultValue if it changes
1371
+* should display "true" for `defaultValue` of `true`
1372
+* should display "false" for `defaultValue` of `false`
1373
+* should update `defaultValue` for uncontrolled input
1374
+* should update `defaultValue` for uncontrolled date/time input
1375
+* should take `defaultValue` when changing to uncontrolled input
1376
+* should render defaultValue for SSR
1377
+* should render value for SSR
1378
+* should render name attribute if it is supplied
1379
+* should render name attribute if it is supplied for SSR
1380
+* should not render name attribute if it is not supplied
1381
+* should not render name attribute if it is not supplied for SSR
1382
+* should display "foobar" for `defaultValue` of `objToString`
1383
+* should display `value` of number 0
1384
+* should allow setting `value` to `true`
1385
+* should allow setting `value` to `false`
1386
+* should allow setting `value` to `objToString`
1387
+* should not incur unnecessary DOM mutations
1388
+* should properly control a value of number `0`
1389
+* should have the correct target value
1390
+* should not set a value for submit buttons unnecessarily
1391
+* should control radio buttons
1392
+* should control radio buttons if the tree updates during render
1393
+* should warn with value and no onChange handler and readOnly specified
1394
+* should have a this value of undefined if bind is not used
1395
+* should warn with checked and no onChange handler with readOnly specified
1396
+* should update defaultValue to empty string
1397
+* should warn if value is null
1398
+* should warn if checked and defaultChecked props are specified
1399
+* should warn if value and defaultValue props are specified
1400
+* should warn if controlled input switches to uncontrolled (value is undefined)
1401
+* should warn if controlled input switches to uncontrolled (value is null)
1402
+* should warn if controlled input switches to uncontrolled with defaultValue
1403
+* should warn if uncontrolled input (value is undefined) switches to controlled
1404
+* should warn if uncontrolled input (value is null) switches to controlled
1405
+* should warn if controlled checkbox switches to uncontrolled (checked is undefined)
1406
+* should warn if controlled checkbox switches to uncontrolled (checked is null)
1407
+* should warn if controlled checkbox switches to uncontrolled with defaultChecked
1408
+* should warn if uncontrolled checkbox (checked is undefined) switches to controlled
1409
+* should warn if uncontrolled checkbox (checked is null) switches to controlled
1410
+* should warn if controlled radio switches to uncontrolled (checked is undefined)
1411
+* should warn if controlled radio switches to uncontrolled (checked is null)
1412
+* should warn if controlled radio switches to uncontrolled with defaultChecked
1413
+* should warn if uncontrolled radio (checked is undefined) switches to controlled
1414
+* should warn if uncontrolled radio (checked is null) switches to controlled
1415
+* should not warn if radio value changes but never becomes controlled
1416
+* should not warn if radio value changes but never becomes uncontrolled
1417
+* should warn if radio checked false changes to become uncontrolled
1418
+* sets type, step, min, max before value always
1419
+* sets value properly with type coming later in props
1420
+* does not raise a validation warning when it switches types
1421
+* resets value of date/time input to fix bugs in iOS Safari
1422
1441
-src/renderers/shared/shared/__tests__/ReactCompositeComponentNestedState-test.js
1442
-* should provide up to date values for props
1423
+src/renderers/dom/shared/wrappers/__tests__/ReactDOMOption-test.js
1424
+* should flatten children to a string
1425
+* should ignore and warn invalid children types
1426
+* should ignore null/undefined/false children without warning
1427
+* should be able to use dangerouslySetInnerHTML on option
1428
+* should set attribute for empty value
1429
+* should allow ignoring `value` on option
1430
1444
-src/renderers/shared/shared/__tests__/ReactCompositeComponentState-test.js
1445
-* should support setting state
1446
-* should call componentDidUpdate of children first
1447
-* should batch unmounts
1448
-* should update state when called from child cWRP
1449
-* should merge state when sCU returns false
1431
+src/renderers/dom/shared/wrappers/__tests__/ReactDOMSelect-test.js
1432
+* should allow setting `defaultValue`
1433
+* should not throw with `defaultValue` and without children
1434
+* should not control when using `defaultValue`
1435
+* should allow setting `defaultValue` with multiple
1436
+* should allow setting `value`
1437
+* should not throw with `value` and without children
1438
+* should allow setting `value` with multiple
1439
+* should not select other options automatically
1440
+* should reset child options selected when they are changed and `value` is set
1441
+* should allow setting `value` with `objectToString`
1442
+* should allow switching to multiple
1443
+* should allow switching from multiple
1444
+* should remember value when switching to uncontrolled
1445
+* should remember updated value when switching to uncontrolled
1446
+* should support server-side rendering
1447
+* should support server-side rendering with defaultValue
1448
+* should support server-side rendering with multiple
1449
+* should not control defaultValue if readding options
1450
+* should warn if value is null
1451
+* should refresh state on change
1452
+* should warn if value and defaultValue props are specified
1453
+* should be able to safely remove select onChange
1454
+* should select grandchild options nested inside an optgroup
1455
1451
-src/renderers/shared/shared/__tests__/ReactEmptyComponent-test.js
1452
-* should not produce child DOM nodes for null and false
1453
-* should still throw when rendering to undefined
1454
-* should be able to switch between rendering null and a normal tag
1455
-* should be able to switch in a list of children
1456
-* should distinguish between a script placeholder and an actual script tag
1457
-* should have findDOMNode return null when multiple layers of composite components render to the same null placeholder
1458
-* works when switching components
1459
-* can render null at the top level
1460
-* does not break when updating during mount
1461
-* preserves the dom node during updates
1456
+src/renderers/dom/shared/wrappers/__tests__/ReactDOMTextarea-test.js
1457
+* should allow setting `defaultValue`
1458
+* should display `defaultValue` of number 0
1459
+* should display "false" for `defaultValue` of `false`
1460
+* should display "foobar" for `defaultValue` of `objToString`
1461
+* should set defaultValue
1462
+* should not render value as an attribute
1463
+* should display `value` of number 0
1464
+* should update defaultValue to empty string
1465
+* should allow setting `value` to `giraffe`
1466
+* should render defaultValue for SSR
1467
+* should render value for SSR
1468
+* should allow setting `value` to `true`
1469
+* should allow setting `value` to `false`
1470
+* should allow setting `value` to `objToString`
1471
+* should take updates to `defaultValue` for uncontrolled textarea
1472
+* should take updates to children in lieu of `defaultValue` for uncontrolled textarea
1473
+* should not incur unnecessary DOM mutations
1474
+* should properly control a value of number `0`
1475
+* should treat children like `defaultValue`
1476
+* should keep value when switching to uncontrolled element if not changed
1477
+* should keep value when switching to uncontrolled element if changed
1478
+* should allow numbers as children
1479
+* should allow booleans as children
1480
+* should allow objects as children
1481
+* should throw with multiple or invalid children
1482
+* should unmount
1483
+* should warn if value is null
1484
+* should warn if value and defaultValue are specified
1485
1463
-src/renderers/shared/shared/__tests__/ReactErrorBoundaries-test.js
1464
-* does not swallow exceptions on mounting without boundaries
1465
-* does not swallow exceptions on updating without boundaries
1466
-* does not swallow exceptions on unmounting without boundaries
1467
-* prevents errors from leaking into other roots
1468
-* renders an error state if child throws in render
1469
-* renders an error state if child throws in constructor
1470
-* renders an error state if child throws in componentWillMount
1471
-* renders an error state if context provider throws in componentWillMount
1472
-* renders an error state if module-style context provider throws in componentWillMount
1473
-* mounts the error message if mounting fails
1474
-* propagates errors on retry on mounting
1475
-* propagates errors inside boundary during componentWillMount
1476
-* propagates errors inside boundary while rendering error state
1477
-* does not call componentWillUnmount when aborting initial mount
1478
-* resets refs if mounting aborts
1479
-* successfully mounts if no error occurs
1480
-* catches if child throws in constructor during update
1481
-* catches if child throws in componentWillMount during update
1482
-* catches if child throws in componentWillReceiveProps during update
1483
-* catches if child throws in componentWillUpdate during update
1484
-* catches if child throws in render during update
1485
-* keeps refs up-to-date during updates
1486
-* recovers from componentWillUnmount errors on update
1487
-* recovers from nested componentWillUnmount errors on update
1488
-* picks the right boundary when handling unmounting errors
1489
-* can recover from error state
1490
-* can update multiple times in error state
1491
-* doesn't get into inconsistent state during removals
1492
-* doesn't get into inconsistent state during additions
1493
-* doesn't get into inconsistent state during reorders
1494
-* catches errors originating downstream
1495
-* catches errors in componentDidMount
1496
-* catches errors in componentDidUpdate
1497
-* propagates errors inside boundary during componentDidMount
1498
-* lets different boundaries catch their own first errors
1499
-* discards a bad root if the root component fails
1500
-* renders empty output if error boundary does not handle the error
1501
-* passes first error when two errors happen in commit
1486
+src/renderers/native/__tests__/ReactNativeAttributePayload-test.js
1487
+* should work with simple example
1488
+* should skip fields that are equal
1489
+* should remove fields
1490
+* should remove fields that are set to undefined
1491
+* should ignore invalid fields
1492
+* should use the diff attribute
1493
+* should not use the diff attribute on addition/removal
1494
+* should do deep diffs of Objects by default
1495
+* should work with undefined styles
1496
+* should work with empty styles
1497
+* should flatten nested styles and predefined styles
1498
+* should reset a value to a previous if it is removed
1499
+* should not clear removed props if they are still in another slot
1500
+* should clear a prop if a later style is explicit null/undefined
1501
+* should convert functions to booleans
1502
1503
-src/renderers/shared/shared/__tests__/ReactIdentity-test.js
1504
-* should allow key property to express identity
1505
-* should use composite identity
1506
-* should allow any character as a key, in a detached parent
1507
-* should allow any character as a key, in an attached parent
1508
-* should not allow scripts in keys to execute
1509
-* should let restructured components retain their uniqueness
1510
-* should let nested restructures retain their uniqueness
1511
-* should let text nodes retain their uniqueness
1512
-* should retain key during updates in composite components
1513
-* should not allow implicit and explicit keys to collide
1503
+src/renderers/native/__tests__/ReactNativeEvents-test.js
1504
+* handles events
1505
1515
-src/renderers/shared/shared/__tests__/ReactMockedComponent-test.js
1516
-* should allow an implicitly mocked component to be rendered without warnings
1517
-* should allow an implicitly mocked component to be updated
1518
-* has custom methods on the implicitly mocked component
1519
-* should allow an explicitly mocked component to be rendered
1520
-* should allow an explicitly mocked component to be updated
1521
-* has custom methods on the explicitly mocked component
1506
+src/renderers/native/__tests__/ReactNativeMount-test.js
1507
+* should be able to create and render a native component
1508
+* should be able to create and update a native component
1509
+* returns the correct instance and calls it in the callback
1510
1523
-src/renderers/shared/shared/__tests__/ReactMultiChild-test.js
1524
-* should update children when possible
1525
-* should replace children with different constructors
1526
-* should NOT replace children with different owners
1527
-* should replace children with different keys
1528
-* should warn for duplicated array keys with component stack info
1529
-* should warn for duplicated iterable keys with component stack info
1530
-* should warn for using maps as children with owner info
1531
-* should reorder bailed-out children
1532
-* prepares new children before unmounting old
1511
+src/renderers/shared/__tests__/ReactDebugTool-test.js
1512
+* should add and remove hooks
1513
+* warns once when an error is thrown in hook
1514
+* returns isProfiling state
1515
1534
-src/renderers/shared/shared/__tests__/ReactMultiChildReconcile-test.js
1535
-* should reset internal state if removed then readded in an array
1536
-* should reset internal state if removed then readded in an iterable
1537
-* should create unique identity
1538
-* should preserve order if children order has not changed
1539
-* should transition from zero to one children correctly
1540
-* should transition from one to zero children correctly
1541
-* should transition from one child to null children
1542
-* should transition from null children to one child
1543
-* should transition from zero children to null children
1544
-* should transition from null children to zero children
1545
-* should remove nulled out children at the beginning
1546
-* should remove nulled out children at the end
1547
-* should reverse the order of two children
1548
-* should reverse the order of more than two children
1549
-* should cycle order correctly
1550
-* should cycle order correctly in the other direction
1551
-* should remove nulled out children and ignore new null children
1552
-* should remove nulled out children and reorder remaining
1553
-* should append children to the end
1554
-* should append multiple children to the end
1555
-* should prepend children to the beginning
1556
-* should prepend multiple children to the beginning
1557
-* should not prepend an empty child to the beginning
1558
-* should not append an empty child to the end
1559
-* should not insert empty children in the middle
1560
-* should insert one new child in the middle
1561
-* should insert multiple new truthy children in the middle
1562
-* should insert non-empty children in middle where nulls were
1516
+src/renderers/shared/fiber/__tests__/ReactCoroutine-test.js
1517
+* should render a coroutine
1518
+* should update a coroutine
1519
+* should unmount a composite in a coroutine
1520
+* should handle deep updates in coroutine
1521
1564
-src/renderers/shared/shared/__tests__/ReactMultiChildText-test.js
1565
-* should correctly handle all possible children for render and update
1566
-* should throw if rendering both HTML and children
1567
-* should render between nested components and inline children
1522
+src/renderers/shared/fiber/__tests__/ReactIncremental-test.js
1523
+* should render a simple component
1524
+* should render a simple component, in steps if needed
1525
+* updates a previous render
1526
+* can cancel partially rendered work and restart
1527
+* can deprioritize unfinished work and resume it later
1528
+* can deprioritize a tree from without dropping work
1529
+* can resume work in a subtree even when a parent bails out
1530
+* can resume work in a bailed subtree within one pass
1531
+* can reuse work done after being preempted
1532
+* can reuse work that began but did not complete, after being preempted
1533
+* can reuse work if shouldComponentUpdate is false, after being preempted
1534
+* memoizes work even if shouldComponentUpdate returns false
1535
+* can update in the middle of a tree using setState
1536
+* can queue multiple state updates
1537
+* can use updater form of setState
1538
+* can call setState inside update callback
1539
+* can replaceState
1540
+* can forceUpdate
1541
+* can call sCU while resuming a partly mounted component
1542
+* gets new props when setting state on a partly updated component
1543
+* calls componentWillMount twice if the initial render is aborted
1544
+* uses state set in componentWillMount even if initial render was aborted
1545
+* calls componentWill* twice if an update render is aborted
1546
+* does not call componentWillReceiveProps for state-only updates
1547
+* skips will/DidUpdate when bailing unless an update was already in progress
1548
+* performs batched updates at the end of the batch
1549
+* can nest batchedUpdates
1550
+* can handle if setState callback throws
1551
+* merges and masks context
1552
+* does not leak own context into context provider
1553
+* provides context when reusing work
1554
+* reads context when setState is below the provider
1555
+* reads context when setState is above the provider
1556
+* maintains the correct context when providers bail out due to low priority
1557
+* maintains the correct context when unwinding due to an error in render
1558
+* should not recreate masked context unless inputs have changed
1559
+* should reuse memoized work if pointers are updated before calling lifecycles
1560
1569
-src/renderers/shared/shared/__tests__/ReactStateSetters-test.js
1570
-* createStateSetter should update state
1571
-* createStateKeySetter should update state
1572
-* createStateKeySetter is memoized
1573
-* createStateSetter should update state from mixin
1574
-* createStateKeySetter should update state with mixin
1575
-* createStateKeySetter is memoized with mixin
1561
+src/renderers/shared/fiber/__tests__/ReactIncrementalErrorHandling-test.js
1562
+* catches render error in a boundary during full deferred mounting
1563
+* catches render error in a boundary during partial deferred mounting
1564
+* catches render error in a boundary during animation mounting
1565
+* catches render error in a boundary during synchronous mounting
1566
+* catches render error in a boundary during batched mounting
1567
+* propagates an error from a noop error boundary during full deferred mounting
1568
+* propagates an error from a noop error boundary during partial deferred mounting
1569
+* propagates an error from a noop error boundary during animation mounting
1570
+* propagates an error from a noop error boundary during synchronous mounting
1571
+* propagates an error from a noop error boundary during batched mounting
1572
+* applies batched updates regardless despite errors in scheduling
1573
+* applies nested batched updates despite errors in scheduling
1574
+* applies sync updates regardless despite errors in scheduling
1575
+* can schedule updates after uncaught error in render on mount
1576
+* can schedule updates after uncaught error in render on update
1577
+* can schedule updates after uncaught error during umounting
1578
+* continues work on other roots despite caught errors
1579
+* continues work on other roots despite uncaught errors
1580
+* unwinds the context stack correctly on error
1581
+* catches reconciler errors in a boundary during mounting
1582
+* catches reconciler errors in a boundary during update
1583
+* recovers from uncaught reconciler errors
1584
+* unmounts components with uncaught errors
1585
+* does not interrupt unmounting if detaching a ref throws
1586
+* handles error thrown by host config while working on failed root
1587
+* handles error thrown by top-level callback
1588
+* should log errors that occur during the begin phase
1589
+* should log errors that occur during the commit phase
1590
+* should ignore errors thrown in log method to prevent cycle
1591
+* should relay info about error boundary and retry attempts if applicable
1592
1577
-src/renderers/shared/shared/__tests__/ReactStatelessComponent-test.js
1578
-* should render stateless component
1579
-* should update stateless component
1580
-* should unmount stateless component
1581
-* should pass context thru stateless component
1582
-* should throw when stateless component returns undefined
1583
-* should throw on string refs in pure functions
1584
-* should warn when given a string ref
1585
-* should warn when given a function ref
1586
-* deduplicates ref warnings based on element or owner
1587
-* should provide a null ref
1588
-* should use correct name in key warning
1589
-* should support default props and prop types
1590
-* should receive context
1591
-* should work with arrow functions
1592
-* should allow simple functions to return null
1593
-* should allow simple functions to return false
1593
+src/renderers/shared/fiber/__tests__/ReactIncrementalReflection-test.js
1594
+* handles isMounted even when the initial render is deferred
1595
+* handles isMounted when an unmount is deferred
1596
+* finds no node before insertion and correct node before deletion
1597
1595
-src/renderers/shared/shared/__tests__/ReactTreeTraversal-test.js
1596
-* should not traverse when traversing outside DOM
1597
-* should traverse two phase across component boundary
1598
-* should traverse two phase at shallowest node
1599
-* should not traverse when enter/leaving outside DOM
1600
-* should not traverse if enter/leave the same node
1601
-* should traverse enter/leave to sibling - avoids parent
1602
-* should traverse enter/leave to parent - avoids parent
1603
-* should enter from the window
1604
-* should enter from the window to the shallowest
1605
-* should leave to the window
1606
-* should leave to the window from the shallowest
1607
-* should determine the first common ancestor correctly
1598
+src/renderers/shared/fiber/__tests__/ReactIncrementalScheduling-test.js
1599
+* schedules and flushes deferred work
1600
+* schedules and flushes animation work
1601
+* searches for work on other roots once the current root completes
1602
+* schedules an animation callback when there`s leftover animation work
1603
+* schedules top-level updates in order of priority
1604
+* schedules top-level updates with same priority in order of insertion
1605
+* works on deferred roots in the order they were scheduled
1606
+* schedules sync updates when inside componentDidMount/Update
1607
+* can opt-in to deferred/animation scheduling inside componentDidMount/Update
1608
+* performs Task work even after time runs out
1609
+* does not perform animation work after time runs out
1610
+* can opt-out of batching using unbatchedUpdates
1611
+* nested updates are always deferred, even inside unbatchedUpdates
1612
1609
-src/renderers/shared/shared/__tests__/ReactUpdates-test.js
1610
-* should batch state when updating state twice
1611
-* should batch state when updating two different state keys
1612
-* should batch state and props together
1613
-* should batch parent/child state updates together
1614
-* should batch child/parent state updates together
1615
-* should support chained state updates
1616
-* should batch forceUpdate together
1617
-* should update children even if parent blocks updates
1618
-* should not reconcile children passed via props
1619
-* should flow updates correctly
1620
-* should share reconcile transaction across different roots
1621
-* should queue mount-ready handlers across different roots
1622
-* should flush updates in the correct order
1623
-* should flush updates in the correct order across roots
1624
-* should queue nested updates
1625
-* should queue updates from during mount
1626
-* calls componentWillReceiveProps setState callback properly
1627
-* does not call render after a component as been deleted
1628
-* marks top-level updates
1629
-* throws in setState if the update callback is not a function
1630
-* throws in replaceState if the update callback is not a function
1631
-* throws in forceUpdate if the update callback is not a function
1632
-* does not update one component twice in a batch (#2410)
1633
-* does not update one component twice in a batch (#6371)
1634
-* unstable_batchedUpdates should return value from a callback
1635
-* unmounts and remounts a root in the same batch
1636
-* handles reentrant mounting in synchronous mode
1637
-* mounts and unmounts are sync even in a batch
1638
-* does not re-render if state update is null
1613
+src/renderers/shared/fiber/__tests__/ReactIncrementalSideEffects-test.js
1614
+* can update child nodes of a host instance
1615
+* can update child nodes of a fragment
1616
+* can update child nodes rendering into text nodes
1617
+* can deletes children either components, host or text
1618
+* can delete a child that changes type - implicit keys
1619
+* can delete a child that changes type - explicit keys
1620
+* does not update child nodes if a flush is aborted
1621
+* preserves a previously rendered node when deprioritized
1622
+* can reuse side-effects after being preempted
1623
+* can reuse side-effects after being preempted, if shouldComponentUpdate is false
1624
+* can update a completed tree before it has a chance to commit
1625
+* updates a child even though the old props is empty
1626
+* can defer side-effects and resume them later on
1627
+* can defer side-effects and reuse them later - complex
1628
+* deprioritizes setStates that happens within a deprioritized tree
1629
+* calls callback after update is flushed
1630
+* calls setState callback even if component bails out
1631
+* calls componentWillUnmount after a deletion, even if nested
1632
+* calls componentDidMount/Update after insertion/update
1633
+* invokes ref callbacks after insertion/update/unmount
1634
+* supports string refs
1635
1640
-src/renderers/shared/shared/__tests__/refs-destruction-test.js
1641
-* should remove refs when destroying the parent
1642
-* should remove refs when destroying the child
1643
-* should not error when destroying child with ref asynchronously
1636
+src/renderers/shared/fiber/__tests__/ReactIncrementalUpdates-test.js
1637
+* applies updates in order of priority
1638
+* applies updates with equal priority in insertion order
1639
+* only drops updates with equal or lesser priority when replaceState is called
1640
+* can abort an update, schedule additional updates, and resume
1641
+* can abort an update, schedule a replaceState, and resume
1642
+* passes accumulation of previous updates to replaceState updater function
1643
+* does not call callbacks that are scheduled by another callback until a later commit
1644
+* gives setState during reconciliation the same priority as whatever level is currently reconciling
1645
+* enqueues setState inside an updater function as if the in-progress update is progressed (and warns)
1646
1645
-src/renderers/shared/shared/__tests__/refs-test.js
1646
-* Allow refs to hop around children correctly
1647
-* always has a value for this.refs
1648
-* ref called correctly for stateless component when __DEV__ = false
1649
-* ref called correctly for stateless component when __DEV__ = true
1650
-* coerces numbers to strings
1651
-* attaches, detaches from fiber component with stack layer
1652
-* attaches, detaches from stack component with fiber layer
1647
+src/renderers/shared/fiber/__tests__/ReactTopLevelFragment-test.js
1648
+* should render a simple fragment at the top of a component
1649
+* should preserve state when switching from a single child
1650
+* should not preserve state when switching to a nested array
1651
+* preserves state if an implicit key slot switches from/to null
1652
+* should preserve state in a reorder
1653
1654
-src/renderers/shared/shared/event/__tests__/EventPluginHub-test.js
1655
-* should prevent non-function listeners, at dispatch
1656
-* should not prevent null listeners, at dispatch
1654
+src/renderers/shared/fiber/__tests__/ReactTopLevelText-test.js
1655
+* should render a component returning strings directly from render
1656
+* should render a component returning numbers directly from render
1657
1658
src/renderers/shared/shared/event/__tests__/EventPluginRegistry-test.js
1659
* should be able to inject ordering before plugins