/
tests-passing.txt
1517 lines (1397 loc) · 67.2 KB
/
tests-passing.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
eslint-rules/__tests__/warning-and-invariant-args-test.js
* warning(true, 'hello, world');
* warning(true, 'expected %s, got %s', 42, 24);
* invariant(true, 'hello, world');
* invariant(true, 'expected %s, got %s', 42, 24);
* warning('hello, world');
* warning(true, null);
* var g = 5; invariant(true, g);
* warning(true, 'expected %s, got %s');
* warning(true, 'foo is a bar under foobar', 'junk argument');
* invariant(true, 'error!');
* warning(true, 'error!');
* warning(true, '%s %s, %s %s: %s (%s)', 1, 2, 3, 4, 5, 6);
scripts/error-codes/__tests__/dev-expression-with-codes-test.js
* should replace __DEV__ in if
* should replace warning calls
* should add `reactProdInvariant` when it finds `require('invariant')`
* should replace simple invariant calls
* should only add `reactProdInvariant` once
* should support invariant calls with args
* should support invariant calls with a concatenated template string and args
* should warn in non-test envs if the error message cannot be found
* should not warn in test env if the error message cannot be found
scripts/error-codes/__tests__/evalToString-test.js
* should support StringLiteral
* should support string concat (`+`)
* should throw when it finds other types
scripts/error-codes/__tests__/invertObject-test.js
* should return an empty object for an empty input
* should invert key-values
* should take the last value when there're duplications in vals
* should perserve the original order
src/addons/__tests__/ReactComponentWithPureRenderMixin-test.js
* provides a default shouldComponentUpdate implementation
src/addons/__tests__/ReactDOMFactories-test.js
* allow factories to be called without warnings
src/addons/__tests__/ReactFragment-test.js
* warns for numeric keys on objects as children
* should warn if passing null to createFragment
* should warn if passing an array to createFragment
* should warn if passing a ReactElement to createFragment
src/addons/__tests__/renderSubtreeIntoContainer-test.js
* should throw if parentComponent is invalid
src/addons/__tests__/update-test.js
* pushes
* does not mutate the original object
* only pushes an array
* only pushes unto an array
* unshifts
* does not mutate the original object
* only unshifts an array
* only unshifts unto an array
* splices
* does not mutate the original object
* only splices an array of arrays
* only splices unto an array
* merges
* does not mutate the original object
* only merges with an object
* only merges with an object
* sets
* does not mutate the original object
* applies
* does not mutate the original object
* only applies a function
* should support deep updates
* should require a command
* should perform safe hasOwnProperty check
src/addons/transitions/__tests__/ReactCSSTransitionGroup-test.js
* should warn if timeouts aren't specified
* should not warn if timeouts is zero
* should clean-up silently after the timeout elapses
* should keep both sets of DOM nodes around
* should switch transitionLeave from false to true
* should work with no children
* should work with a null child
* should transition from one to null
* should transition from false to one
* should use transition-type specific names when they're provided
* should clear transition timeouts when unmounted
* should handle unmounted elements properly
src/addons/transitions/__tests__/ReactTransitionChildMapping-test.js
* should support getChildMapping
* should support mergeChildMappings for adding keys
* should support mergeChildMappings for removing keys
* should support mergeChildMappings for adding and removing
* should reconcile overlapping insertions and deletions
* should support mergeChildMappings with undefined input
src/addons/transitions/__tests__/ReactTransitionGroup-test.js
* should handle willEnter correctly
* should handle enter/leave/enter/leave correctly
* should handle enter/leave/enter correctly
* should handle entering/leaving several elements at once
src/isomorphic/children/__tests__/ReactChildren-test.js
* should support identity for simple
* should treat single arrayless child as being in array
* should treat single child in array as expected
* should pass key to returned component
* should invoke callback with the right context
* should be called for each child
* should be called for each child in nested structure
* should retain key across two mappings
* should not throw if key provided is a dupe with array key
* should use the same key for a cloned element
* should use the same key for a cloned element with key
* should return 0 for null children
* should return 0 for undefined children
* should return 1 for single child
* should count the number of children in flat structure
* should count the number of children in nested structure
* should flatten children to an array
src/isomorphic/children/__tests__/onlyChild-test.js
* should fail when passed two children
* should fail when passed nully values
* should fail when key/value objects
* should not fail when passed interpolated single child
* should return the only child
src/isomorphic/children/__tests__/sliceChildren-test.js
* should render the whole set if start zero is supplied
* should render the remaining set if no end index is supplied
* should exclude everything at or after the end index
* should allow static children to be sliced
* should slice nested children
src/isomorphic/classic/__tests__/ReactContextValidator-test.js
* should filter out context not in contextTypes
* should pass next context to lifecycles
src/isomorphic/classic/class/__tests__/ReactBind-test.js
* Holds reference to instance
* works with mixins
* warns if you try to bind to this
* does not warn if you pass an auto-bound method to setState
src/isomorphic/classic/class/__tests__/ReactBindOptout-test.js
* should work with manual binding
* should not hold reference to instance
* works with mixins that have not opted out of autobinding
* works with mixins that have opted out of autobinding
* does not warn if you try to bind to this
* does not warn if you pass an manually bound method to setState
src/isomorphic/classic/class/__tests__/ReactClass-test.js
* should throw when `render` is not specified
* should copy `displayName` onto the Constructor
* should copy prop types onto the Constructor
* should warn on invalid prop types
* should warn on invalid context types
* should throw on invalid child context types
* should warn when mispelling shouldComponentUpdate
* should warn when mispelling componentWillReceiveProps
* should throw if a reserved property is in statics
* should support statics
* should work with object getInitialState() return values
* renders based on context getInitialState
* should throw with non-object getInitialState() return values
* should work with a null getInitialState() return value
* should throw when using legacy factories
src/isomorphic/classic/class/__tests__/ReactClassMixin-test.js
* should support merging propTypes and statics
* should support chaining delegate functions
* should chain functions regardless of spec property order
* should validate prop types via mixins
* should override mixin prop types with class prop types
* should support mixins with getInitialState()
* should throw with conflicting getInitialState() methods
* should not mutate objects returned by getInitialState()
* should support statics in mixins
* should throw if mixins override each others' statics
* should throw if mixins override functions in statics
* should warn if the mixin is undefined
* should warn if the mixin is null
* should warn if an undefined mixin is included in another mixin
* should warn if a null mixin is included in another mixin
* should throw if the mixin is a React component
* should throw if the mixin is a React component class
* should have bound the mixin methods to the component
* should include the mixin keys in even if their values are falsy
* should work with a null getInitialState return value and a mixin
src/isomorphic/classic/element/__tests__/ReactElement-test.js
* uses the fallback value when in an environment without Symbol
* returns a complete element according to spec
* should warn when `key` is being accessed on createClass element
* should warn when `key` is being accessed on ES class element
* should warn when `key` is being accessed on a host element
* should warn when `ref` is being accessed
* allows a string to be passed as the type
* returns an immutable element
* does not reuse the original config object
* does not fail if config has no prototype
* extracts key and ref from the config
* extracts null key and ref
* ignores undefined key and ref
* ignores key and ref warning getters
* coerces the key to a string
* preserves the owner on the element
* merges an additional argument onto the children prop
* does not override children if no rest args are provided
* overrides children if null is provided as an argument
* merges rest arguments onto the children prop in an array
* allows static methods to be called using the type property
* identifies valid elements
* allows the use of PropTypes validators in statics
* is indistinguishable from a plain object
* should use default prop value when removing a prop
* should normalize props with default values
* throws when changing a prop (in dev) after element creation
* throws when adding a prop (in dev) after element creation
* does not warn for NaN props
* identifies elements, but not JSON, if Symbols are supported
* should scry children but cannot
* does not maintain refs
* can capture Child instantiation calls
* can properly scry children
* does not maintain refs
* can capture Child instantiation calls
* should scry children but cannot
* does not maintain refs
* can capture Child instantiation calls
src/isomorphic/classic/element/__tests__/ReactElementClone-test.js
* should clone a DOM component with new props
* should clone a composite component with new props
* does not fail if config has no prototype
* should keep the original ref if it is not overridden
* should transfer the key property
* should transfer children
* should shallow clone children
* should accept children as rest arguments
* should override children if undefined is provided as an argument
* should support keys and refs
* should steal the ref if a new ref is specified
* should overwrite props
* should normalize props with default values
* warns for keys for arrays of elements in rest args
* does not warns for arrays of elements with keys
* does not warn when the element is directly in rest args
* does not warn when the array contains a non-element
* should ignore key and ref warning getters
* should ignore undefined key and ref
* should extract null key and ref
src/isomorphic/classic/element/__tests__/ReactElementValidator-test.js
* warns for keys for arrays of elements in rest args
* warns for keys for arrays with no owner or parent info
* warns for keys for arrays of elements with no owner info
* does not warn for keys when passing children down
* warns for keys for iterables of elements in rest args
* does not warns for arrays of elements with keys
* does not warns for iterable elements with keys
* does not warn when the element is directly in rest args
* does not warn when the array contains a non-element
* gives a helpful error when passing null, undefined, boolean, or number
* should check default prop values
* should not check the default for explicit null
* should check declared prop types
* should warn if a PropType creator is used as a PropType
* should warn when accessing .type on an element factory
* does not warn when using DOM node as children
* should not enumerate enumerable numbers (#4776)
* does not blow up with inlined children
* does not blow up on key warning with undefined type
src/isomorphic/classic/types/__tests__/ReactPropTypes-test.js
* should warn for invalid strings
* should fail date and regexp correctly
* should not warn for valid values
* should be implicitly optional and not warn without values
* should warn for missing required values
* should should accept any value
* should be implicitly optional and not warn without values
* should warn for missing required values
* should fail for invalid argument
* should support the arrayOf propTypes
* should support arrayOf with complex types
* should warn with invalid items in the array
* should warn with invalid complex types
* should warn when passed something other than an array
* should not warn when passing an empty array
* should be implicitly optional and not warn without values
* should warn for missing required values
* should support components
* should not support multiple components or scalar values
* should be able to define a single child as label
* should warn when passing no label and isRequired is set
* should be implicitly optional and not warn without values
* should warn for missing required values
* should warn for invalid instances
* should not warn for valid values
* should be implicitly optional and not warn without values
* should warn for missing required values
* should warn for invalid values
* should not warn for valid values
* should not warn for iterables
* should not warn for entry iterables
* should not warn for null/undefined if not required
* should warn for missing required values
* should accept empty array for required props
* should fail for invalid argument
* should support the objectOf propTypes
* should support objectOf with complex types
* should warn with invalid items in the object
* should warn with invalid complex types
* should warn when passed something other than an object
* should not warn when passing an empty object
* should be implicitly optional and not warn without values
* should warn for missing required values
* should warn but not error for invalid argument
* should warn for invalid values
* should not warn for valid values
* should be implicitly optional and not warn without values
* should warn for missing required values
* should warn but not error for invalid argument
* should warn if none of the types are valid
* should not warn if one of the types are valid
* should be implicitly optional and not warn without values
* should warn for missing required values
* should warn for non objects
* should not warn for empty values
* should not warn for an empty object
* should not warn for non specified types
* should not warn for valid types
* should warn for required valid types
* should warn for the first required type
* should warn for invalid key types
* should be implicitly optional and not warn without values
* should warn for missing required values
* should warn for non-symbol
* should not warn for a polyfilled Symbol
* should have been called with the right params
* should have been called even if the prop is not present
* should have received the validator's return value
* should not warn if the validator returned null
src/isomorphic/classic/types/__tests__/ReactPropTypesProduction-test.js
* should be a no-op
* should be a no-op
* should be a no-op
* should be a no-op
* should be a no-op
* should be a no-op
* should be a no-op
* should be a no-op
* should be a no-op
* should be a no-op
* should not have been called
src/isomorphic/modern/class/__tests__/ReactClassEquivalence-test.js
* tests the same thing for es6 classes and CoffeeScript
* tests the same thing for es6 classes and TypeScript
src/isomorphic/modern/class/__tests__/ReactCoffeeScriptClass-test.coffee
* preserves the name of the class for use in error messages
* throws if no render function is defined
* renders a simple stateless component with prop
* renders based on state using initial values in this.props
* renders based on state using props in the constructor
* renders based on context in the constructor
* renders only once when setting state in componentWillMount
* should throw with non-object in the initial state property
* should render with null in the initial state property
* setState through an event handler
* should not implicitly bind event handlers
* renders using forceUpdate even when there is no state
* will call all the normal life cycle methods
* warns when classic properties are defined on the instance, but does not invoke them.
* should warn when misspelling shouldComponentUpdate
* should warn when misspelling componentWillReceiveProps
* should throw AND warn when trying to access classic APIs
* supports this.context passed via getChildContext
* supports classic refs
* supports drilling through to the DOM using findDOMNode
src/isomorphic/modern/class/__tests__/ReactES6Class-test.js
* preserves the name of the class for use in error messages
* throws if no render function is defined
* renders a simple stateless component with prop
* renders based on state using initial values in this.props
* renders based on state using props in the constructor
* renders based on context in the constructor
* renders only once when setting state in componentWillMount
* should throw with non-object in the initial state property
* should render with null in the initial state property
* setState through an event handler
* should not implicitly bind event handlers
* renders using forceUpdate even when there is no state
* will call all the normal life cycle methods
* warns when classic properties are defined on the instance, but does not invoke them.
* should warn when misspelling shouldComponentUpdate
* should warn when misspelling componentWillReceiveProps
* should throw AND warn when trying to access classic APIs
* supports this.context passed via getChildContext
* supports classic refs
* supports drilling through to the DOM using findDOMNode
src/isomorphic/modern/class/__tests__/ReactPureComponent-test.js
* should render
* can override shouldComponentUpdate
* extends React.Component
src/isomorphic/modern/class/__tests__/ReactTypeScriptClass-test.ts
* preserves the name of the class for use in error messages
* throws if no render function is defined
* renders a simple stateless component with prop
* renders based on state using initial values in this.props
* renders based on state using props in the constructor
* renders based on context in the constructor
* renders only once when setting state in componentWillMount
* should throw with non-object in the initial state property
* should render with null in the initial state property
* setState through an event handler
* should not implicitly bind event handlers
* renders using forceUpdate even when there is no state
* will call all the normal life cycle methods
* warns when classic properties are defined on the instance, but does not invoke them.
* should warn when misspelling shouldComponentUpdate
* should warn when misspelling componentWillReceiveProps
* should throw AND warn when trying to access classic APIs
* supports this.context passed via getChildContext
* supports classic refs
* supports drilling through to the DOM using findDOMNode
src/isomorphic/modern/element/__tests__/ReactJSXElement-test.js
* returns a complete element according to spec
* allows a lower-case to be passed as the string type
* allows a string to be passed as the type
* returns an immutable element
* does not reuse the object that is spread into props
* extracts key and ref from the rest of the props
* coerces the key to a string
* merges JSX children onto the children prop
* does not override children if no JSX children are provided
* overrides children if null is provided as a JSX child
* overrides children if undefined is provided as an argument
* merges JSX children onto the children prop in an array
* allows static methods to be called using the type property
* identifies valid elements
* is indistinguishable from a plain object
* should use default prop value when removing a prop
* should normalize props with default values
src/isomorphic/modern/element/__tests__/ReactJSXElementValidator-test.js
* warns for keys for arrays of elements in children position
* warns for keys for iterables of elements in rest args
* does not warns for arrays of elements with keys
* does not warns for iterable elements with keys
* does not warn for numeric keys in entry iterable as a child
* does not warn when the element is directly as children
* does not warn when the child array contains non-elements
* gives a helpful error when passing null, undefined, or boolean
* should check default prop values
* should not check the default for explicit null
* should check declared prop types
* should warn on invalid prop types
* should warn on invalid context types
* should warn if getDefaultProps is specificed on the class
src/renderers/dom/__tests__/ReactDOMProduction-test.js
* should use prod fbjs
* should use prod React
* should handle a simple flow
* should call lifecycle methods
* should throw with an error code in production
src/renderers/dom/fiber/__tests__/ReactDOMFiber-test.js
* should render strings as children
* should render numbers as children
* should be called a callback argument
* should render a component returning strings directly from render
* should render a component returning numbers directly from render
* finds the DOM Text node of a string child
* finds the first child when a component returns a fragment
* finds the first child even when fragment is nested
* finds the first child even when first child renders null
src/renderers/dom/shared/__tests__/CSSProperty-test.js
* should generate browser prefixes for its `isUnitlessNumber`
src/renderers/dom/shared/__tests__/CSSPropertyOperations-test.js
* should create markup for simple styles
* should ignore undefined styles
* should ignore null styles
* should return null for no styles
* should automatically append `px` to relevant styles
* should trim values
* should not append `px` to styles that might need a number
* should create vendor-prefixed markup correctly
* should set style attribute when styles exist
* should not set style attribute when no styles exist
src/renderers/dom/shared/__tests__/DOMPropertyOperations-test.js
* should create markup for simple properties
* should work with the id attribute
* should create markup for boolean properties
* should create markup for booleanish properties
* should create markup for custom attributes
* should create markup for numeric properties
* should allow custom properties on web components
* should set values as properties by default
* should set values as attributes if necessary
* should set values as namespace attributes if necessary
* should set values as boolean properties
* should convert attribute values to string first
* should not remove empty attributes for special properties
* should remove for falsey boolean properties
* should remove when setting custom attr to null
* should use mutation method where applicable
* should set className to empty string instead of null
* should remove property properly for boolean properties
* should remove property properly even with different name
* should remove attributes for normal properties
* should not remove attributes for special properties
* should not leave all options selected when deleting multiple
* should support custom attributes
src/renderers/dom/shared/__tests__/ReactBrowserEventEmitter-test.js
* should support stopPropagation()
* should stop after first dispatch if stopPropagation
* should invoke handlers that were removed while bubbling
* should not invoke newly inserted handlers while bubbling
* should not onTouchTap from when dragging beyond threshold
* should listen to events only once
* should work with event plugins without dependencies
* should work with event plugins with dependencies
* should not crash ensureScrollValueMonitoring when createEvent returns null
src/renderers/dom/shared/__tests__/ReactDOMComponent-test.js
* should handle className
* should gracefully handle various style value types
* should not warn for "0" as a unitless style value
* should warn nicely about NaN in style
* should update styles if initially null
* should update styles if updated to null multiple times
* should allow named slot projection on both web components and regular DOM elements
* should skip reserved props on web components
* should skip dangerouslySetInnerHTML on web components
* should remove attributes
* should remove properties
* should properly update custom attributes on custom elements
* should clear a single style prop when changing `style`
* should reject attribute key injection attack on markup
* should reject attribute key injection attack on update
* should update arbitrary attributes for tags containing dashes
* should clear all the styles when removing `style`
* should update styles when `style` changes from null to object
* should transition from string content to innerHTML
* should transition from innerHTML to string content
* should transition from children to innerHTML in nested el
* should not incur unnecessary DOM mutations for attributes
* should not incur unnecessary DOM mutations for string properties
* should not incur unnecessary DOM mutations for boolean properties
* should ignore attribute whitelist for elements with the "is: attribute
* should not update when switching between null/undefined
* handles multiple child updates without interference
* should generate the correct markup with className
* should escape style names and values
* should handle dangerouslySetInnerHTML
* should work error event on <source> element
* should not duplicate uppercased selfclosing tags
* should warn against children for void elements
* should warn against dangerouslySetInnerHTML for void elements
* should emit a warning once for an unnamed custom component using shady DOM
* should treat menuitem as a void element but still create the closing tag
* should validate against multiple children props
* should validate against use of innerHTML
* should validate use of dangerouslySetInnerHTML
* should validate use of dangerouslySetInnerHTML
* should allow {__html: null}
* should warn about contentEditable and children
* should respect suppressContentEditableWarning
* should validate against invalid styles
* should track input values
* should track textarea values
* should support custom elements which extend native elements
* should warn against children for void elements
* should warn against dangerouslySetInnerHTML for void elements
* should validate against multiple children props
* should warn about contentEditable and children
* should validate against invalid styles
* should properly escape text content and attributes values
* unmounts children before unsetting DOM node info
* should warn about the `onScroll` issue when unsupported (IE8)
* should throw when an invalid tag name is used
* should throw when an attack vector is used
* should warn about props that are no longer supported
src/renderers/dom/shared/__tests__/ReactDOMComponentTree-test.js
* finds nodes for instances
* finds instances for nodes
src/renderers/dom/shared/__tests__/ReactDOMIDOperations-test.js
* should update innerHTML and preserve whitespace
src/renderers/dom/shared/__tests__/ReactDOMInvalidARIAHook-test.js
* should allow valid aria-* props
src/renderers/dom/shared/__tests__/ReactDOMSVG-test.js
* creates initial namespaced markup
src/renderers/dom/shared/__tests__/ReactDOMTextComponent-test.js
* updates a mounted text component in place
* can be toggled in and out of the markup
* can reconcile text from pre-rendered markup
src/renderers/dom/shared/__tests__/ReactEventIndependence-test.js
* does not crash with other react inside
* does not crash with other react outside
src/renderers/dom/shared/__tests__/ReactEventListener-test.js
* should dispatch events from outside React tree
* should propagate events one level down
* should propagate events two levels down
* should not get confused by disappearing elements
src/renderers/dom/shared/__tests__/escapeTextContentForBrowser-test.js
* should escape boolean to string
* should escape object to string
* should escape number to string
* should escape string
src/renderers/dom/shared/__tests__/inputValueTracking-test.js
* should attach tracker to wrapper state
* should define `value` on the instance node
* should define `checked` on the instance node
* should initialize with the current value
* should initialize with the current `checked`
* should track value changes
* should tracked`checked` changes
* should update value manually
* should coerce value to a string
* should update value if it changed and return result
* should track value and return true when updating untracked instance
* should return tracker from node
* should stop tracking
src/renderers/dom/shared/__tests__/quoteAttributeValueForBrowser-test.js
* should escape boolean to string
* should escape object to string
* should escape number to string
* should escape string
src/renderers/dom/shared/__tests__/validateDOMNesting-test.js
* allows any tag with no context
* allows valid nestings
* prevents problematic nestings
src/renderers/dom/shared/eventPlugins/__tests__/BeforeInputEventPlugin-test.js
* extract onBeforeInput from native textinput events
* extract onBeforeInput from fallback objects
src/renderers/dom/shared/eventPlugins/__tests__/ChangeEventPlugin-test.js
* should fire change for checkbox input
* should catch setting the value programmatically
* should not fire change when setting the value programmatically
* should unmount
* should only fire change for checked radio button once
* should deduplicate input value change events
* should listen for both change and input events when supported
* should only fire events when the value changes for range inputs
src/renderers/dom/shared/eventPlugins/__tests__/EnterLeaveEventPlugin-test.js
* should set relatedTarget properly in iframe
src/renderers/dom/shared/eventPlugins/__tests__/FallbackCompositionState-test.js
* extracts value via `getText()`
* extracts when inserted at start of text
* extracts when inserted within text
* extracts when inserted at end of text
* extracts when inserted at start of text
* extracts when inserted within text
* extracts when inserted at end of text
src/renderers/dom/shared/eventPlugins/__tests__/SelectEventPlugin-test.js
* should skip extraction if no listeners are present
* should extract if an `onSelect` listener is present
src/renderers/dom/shared/eventPlugins/__tests__/SimpleEventPlugin-test.js
* A non-interactive tags click when disabled
* should forward clicks when it starts out not disabled
* should forward clicks when it becomes not disabled
* should work correctly if the listener is changed
* should forward clicks when it starts out not disabled
* should forward clicks when it becomes not disabled
* should work correctly if the listener is changed
* should forward clicks when it starts out not disabled
* should forward clicks when it becomes not disabled
* should work correctly if the listener is changed
* should forward clicks when it starts out not disabled
* should forward clicks when it becomes not disabled
* should work correctly if the listener is changed
* does not add a local click to interactive elements
* adds a local click listener to non-interactive elements
src/renderers/dom/shared/syntheticEvents/__tests__/SyntheticClipboardEvent-test.js
* returns event's clipboardData
* normalizes properties from the Event interface
* is able to `preventDefault` and `stopPropagation`
* is able to `persist`
src/renderers/dom/shared/syntheticEvents/__tests__/SyntheticEvent-test.js
* should normalize `target` from the nativeEvent
* should be able to `preventDefault`
* should be prevented if nativeEvent is prevented
* should be able to `stopPropagation`
* should be able to `persist`
* should be nullified if the synthetic event has called destructor and log warnings
* should warn when setting properties of a destructored synthetic event
* should warn if the synthetic event has been released when calling `preventDefault`
* should warn if the synthetic event has been released when calling `stopPropagation`
* should warn if Proxy is supported and the synthetic event is added a property
src/renderers/dom/shared/syntheticEvents/__tests__/SyntheticKeyboardEvent-test.js
* returns whatever getEventCharCode returns
* returns 0
* returns a passed keyCode
* returns 0
* returns whatever getEventCharCode returns
* returns a passed keyCode
* returns 0
* normalizes properties from the Event interface
* is able to `preventDefault` and `stopPropagation`
* is able to `persist`
src/renderers/dom/shared/syntheticEvents/__tests__/SyntheticWheelEvent-test.js
* should normalize properties from the Event interface
* should normalize properties from the MouseEvent interface
* should normalize properties from the WheelEvent interface
* should be able to `preventDefault` and `stopPropagation`
* should be able to `persist`
src/renderers/dom/shared/utils/__tests__/getEventCharCode-test.js
* returns 13
* returns charCode
* returns 13
* returns 0
* returns keyCode
* returns 13
* returns 0
src/renderers/dom/shared/utils/__tests__/getEventKey-test.js
* returns a normalized value
* returns a key
* returns 'Enter'
* returns a string from a charCode
* returns a translated key
* returns Unidentified
* returns an empty string
src/renderers/dom/shared/utils/__tests__/getNodeForCharacterOffset-test.js
* should handle siblings
* should handle trailing chars
* should handle trees
* should handle non-existent offset
src/renderers/dom/shared/utils/__tests__/setInnerHTML-test.js
* sets innerHTML on it
src/renderers/dom/shared/wrappers/__tests__/ReactDOMIframe-test.js
* should trigger load events
src/renderers/dom/shared/wrappers/__tests__/ReactDOMInput-test.js
* should properly control a value even if no event listener exists
* should control values in reentrant events with different targets
* should display `defaultValue` of number 0
* only assigns defaultValue if it changes
* should display "true" for `defaultValue` of `true`
* should display "false" for `defaultValue` of `false`
* should update `defaultValue` for uncontrolled input
* should update `defaultValue` for uncontrolled date/time input
* should take `defaultValue` when changing to uncontrolled input
* should render defaultValue for SSR
* should render value for SSR
* should render name attribute if it is supplied
* should render name attribute if it is supplied for SSR
* should not render name attribute if it is not supplied
* should not render name attribute if it is not supplied for SSR
* should display "foobar" for `defaultValue` of `objToString`
* should display `value` of number 0
* should allow setting `value` to `true`
* should allow setting `value` to `false`
* should allow setting `value` to `objToString`
* should not incur unnecessary DOM mutations
* should properly control a value of number `0`
* should have the correct target value
* should not set a value for submit buttons unnecessarily
* should control radio buttons
* should control radio buttons if the tree updates during render
* should warn with value and no onChange handler and readOnly specified
* should have a this value of undefined if bind is not used
* should warn with checked and no onChange handler with readOnly specified
* should update defaultValue to empty string
* should warn if checked and defaultChecked props are specified
* should warn if value and defaultValue props are specified
* should warn if controlled input switches to uncontrolled (value is undefined)
* should warn if controlled input switches to uncontrolled with defaultValue
* should warn if uncontrolled input (value is undefined) switches to controlled
* should warn if controlled checkbox switches to uncontrolled (checked is undefined)
* should warn if controlled checkbox switches to uncontrolled (checked is null)
* should warn if controlled checkbox switches to uncontrolled with defaultChecked
* should warn if uncontrolled checkbox (checked is undefined) switches to controlled
* should warn if uncontrolled checkbox (checked is null) switches to controlled
* should warn if controlled radio switches to uncontrolled (checked is undefined)
* should warn if controlled radio switches to uncontrolled (checked is null)
* should warn if controlled radio switches to uncontrolled with defaultChecked
* should warn if uncontrolled radio (checked is undefined) switches to controlled
* should warn if uncontrolled radio (checked is null) switches to controlled
* should not warn if radio value changes but never becomes controlled
* should not warn if radio value changes but never becomes uncontrolled
* should warn if radio checked false changes to become uncontrolled
* sets type, step, min, max before value always
* sets value properly with type coming later in props
* does not raise a validation warning when it switches types
* resets value of date/time input to fix bugs in iOS Safari
src/renderers/dom/shared/wrappers/__tests__/ReactDOMOption-test.js
* should flatten children to a string
* should ignore and warn invalid children types
* should ignore null/undefined/false children without warning
* should be able to use dangerouslySetInnerHTML on option
* should set attribute for empty value
* should allow ignoring `value` on option
src/renderers/dom/shared/wrappers/__tests__/ReactDOMSelect-test.js
* should allow setting `defaultValue`
* should not throw with `defaultValue` and without children
* should not control when using `defaultValue`
* should allow setting `defaultValue` with multiple
* should allow setting `value`
* should not throw with `value` and without children
* should allow setting `value` with multiple
* should not select other options automatically
* should reset child options selected when they are changed and `value` is set
* should allow setting `value` with `objectToString`
* should allow switching to multiple
* should allow switching from multiple
* should remember value when switching to uncontrolled
* should remember updated value when switching to uncontrolled
* should support server-side rendering
* should support server-side rendering with defaultValue
* should support server-side rendering with multiple
* should not control defaultValue if readding options
* should refresh state on change
* should warn if value and defaultValue props are specified
* should be able to safely remove select onChange
* should select grandchild options nested inside an optgroup
src/renderers/dom/shared/wrappers/__tests__/ReactDOMTextarea-test.js
* should allow setting `defaultValue`
* should display `defaultValue` of number 0
* should display "false" for `defaultValue` of `false`
* should display "foobar" for `defaultValue` of `objToString`
* should set defaultValue
* should not render value as an attribute
* should display `value` of number 0
* should update defaultValue to empty string
* should allow setting `value` to `giraffe`
* should render defaultValue for SSR
* should render value for SSR
* should allow setting `value` to `true`
* should allow setting `value` to `false`
* should allow setting `value` to `objToString`
* should take updates to `defaultValue` for uncontrolled textarea
* should take updates to children in lieu of `defaultValue` for uncontrolled textarea
* should not incur unnecessary DOM mutations
* should properly control a value of number `0`
* should treat children like `defaultValue`
* should keep value when switching to uncontrolled element if not changed
* should keep value when switching to uncontrolled element if changed
* should allow numbers as children
* should allow booleans as children
* should allow objects as children
* should throw with multiple or invalid children
* should unmount
* should warn if value and defaultValue are specified
src/renderers/dom/stack/client/__tests__/ReactDOM-test.js
* allows a DOM element to be used with a string
* should allow children to be passed as an argument
* should overwrite props.children with children argument
* should purge the DOM cache when removing nodes
src/renderers/dom/stack/client/__tests__/ReactMount-test.js
* should render different components in same root
* should unmount and remount if the key changes
* should reuse markup if rendering to the same target twice
* should warn if mounting into dirty rendered markup
* should not warn if mounting into non-empty node
* should warn when mounting into document.body
* passes the correct callback context
src/renderers/dom/stack/client/__tests__/ReactMountDestruction-test.js
* should destroy a react root upon request
src/renderers/dom/stack/client/__tests__/findDOMNode-test.js
* findDOMNode should return null if passed null
* findDOMNode should find dom element
* findDOMNode should not throw an error when called within a component that is not mounted
src/renderers/dom/stack/server/__tests__/ReactServerRendering-test.js
* should throw with silly args
* should throw with silly args
src/renderers/native/__tests__/ReactNativeAttributePayload-test.js
* should work with simple example
* should skip fields that are equal
* should remove fields
* should remove fields that are set to undefined
* should ignore invalid fields
* should use the diff attribute
* should not use the diff attribute on addition/removal
* should do deep diffs of Objects by default
* should work with undefined styles
* should work with empty styles
* should flatten nested styles and predefined styles
* should reset a value to a previous if it is removed
* should not clear removed props if they are still in another slot
* should clear a prop if a later style is explicit null/undefined
* should convert functions to booleans
src/renderers/native/__tests__/ReactNativeEvents-test.js
* handles events
src/renderers/native/__tests__/ReactNativeMount-test.js
* should be able to create and render a native component
* should be able to create and update a native component
* returns the correct instance and calls it in the callback
src/renderers/shared/__tests__/ReactDebugTool-test.js
* should add and remove hooks
* warns once when an error is thrown in hook
* returns isProfiling state
src/renderers/shared/__tests__/ReactPerf-test.js
* should not count initial render as waste
* should not count unmount as waste
* should not count content update as waste
* should not count child addition as waste
* should not count child removal as waste
* should not count property update as waste
* should not count style update as waste
* should not count property removal as waste
* should not count raw HTML update as waste
* should not count child reordering as waste
* should not count text update as waste
* should not count replacing null with a host as waste
* should not count replacing a host with null as waste
* warns once when using getMeasurementsSummaryMap
* warns once when using printDOM
* returns isRunning state
* start has no effect when already running
* stop has no effect when already stopped
* should print console error only once
* should not print errant warnings if render() throws
* should not print errant warnings if componentWillMount() throws
* should not print errant warnings if componentDidMount() throws
* should not print errant warnings if portal throws in render()
* should not print errant warnings if portal throws in componentWillMount()
* should not print errant warnings if portal throws in componentDidMount()
src/renderers/shared/fiber/__tests__/ReactCoroutine-test.js
* should render a coroutine
src/renderers/shared/fiber/__tests__/ReactIncremental-test.js
* should render a simple component
* should render a simple component, in steps if needed
* updates a previous render
* can cancel partially rendered work and restart
* can deprioritize unfinished work and resume it later
* can deprioritize a tree from without dropping work
* can resume work in a subtree even when a parent bails out
* can resume work in a bailed subtree within one pass
* can reuse work done after being preempted
* can reuse work if shouldComponentUpdate is false, after being preempted
* can update in the middle of a tree using setState
* can queue multiple state updates
* can use updater form of setState
* can call setState inside update callback
* can replaceState
* can forceUpdate
* can call sCU while resuming a partly mounted component
* gets new props when setting state on a partly updated component
* calls componentWillMount twice if the initial render is aborted
* uses state set in componentWillMount even if initial render was aborted
* calls componentWill* twice if an update render is aborted