Move tests out of the Stack folder
So that we can share them with Fiber. Also Server Rendering tests.
Sebastian Markbage committed
Nov 28, 2016 at 10:55 UTC
e2b9882a7921c8ba25fc07f7c84bc7e09a2537d6
28 files changed
+159
-159
scripts/fiber/tests-failing.txt
+18
-18
@@ -24,6 +24,10 @@ src/renderers/art/__tests__/ReactART-test.js
24
* resolves refs before componentDidMount
25
* resolves refs before componentDidUpdate
26
27
+src/renderers/dom/shared/__tests__/ReactDOM-test.js
28
+* throws in render() if the mount callback is not a function
29
+* throws in render() if the update callback is not a function
30
+
31
src/renderers/dom/shared/__tests__/ReactDOMComponent-test.js
32
* should empty element when removing innerHTML
33
* should transition from innerHTML to children in nested el
@@ -42,21 +46,14 @@ src/renderers/dom/shared/__tests__/ReactDOMTextComponent-test.js
46
* can reconcile text arbitrarily split into multiple nodes
47
* can reconcile text arbitrarily split into multiple nodes on some substitutions only
48
45
-src/renderers/dom/shared/wrappers/__tests__/ReactDOMInput-test.js
46
-* should control a value in reentrant events
47
-
48
-src/renderers/dom/stack/client/__tests__/ReactDOM-test.js
49
-* throws in render() if the mount callback is not a function
50
-* throws in render() if the update callback is not a function
51
-
52
-src/renderers/dom/stack/client/__tests__/ReactMount-test.js
49
+src/renderers/dom/shared/__tests__/ReactMount-test.js
50
* throws when given a non-node
51
* throws when given a string
52
* throws when given a factory
53
* tracks root instances
54
* marks top-level mounts
55
59
-src/renderers/dom/stack/client/__tests__/ReactRenderDocument-test.js
56
+src/renderers/dom/shared/__tests__/ReactRenderDocument-test.js
57
* should be able to adopt server markup
58
* should not be able to unmount component from document node
59
* should not be able to switch root constructors
@@ -65,6 +62,9 @@ src/renderers/dom/stack/client/__tests__/ReactRenderDocument-test.js
62
* should throw on full document render w/ no markup
63
* supports findDOMNode on full-page components
64
65
+src/renderers/dom/shared/wrappers/__tests__/ReactDOMInput-test.js
66
+* should control a value in reentrant events
67
+
68
src/renderers/shared/__tests__/ReactPerf-test.js
69
* should count no-op update as waste
70
* should count no-op update in child as waste
@@ -81,41 +81,41 @@ src/renderers/shared/hooks/__tests__/ReactComponentTreeHook-test.js
81
src/renderers/shared/hooks/__tests__/ReactHostOperationHistoryHook-test.js
82
* gets recorded during an update
83
84
-src/renderers/shared/stack/reconciler/__tests__/ReactComponent-test.js
84
+src/renderers/shared/shared/__tests__/ReactComponent-test.js
85
* should throw on invalid render targets
86
* throws usefully when rendering badly-typed elements
87
88
-src/renderers/shared/stack/reconciler/__tests__/ReactComponentLifeCycle-test.js
88
+src/renderers/shared/shared/__tests__/ReactComponentLifeCycle-test.js
89
* should carry through each of the phases of setup
90
91
-src/renderers/shared/stack/reconciler/__tests__/ReactCompositeComponent-test.js
91
+src/renderers/shared/shared/__tests__/ReactCompositeComponent-test.js
92
* should warn about `setState` in render
93
* should warn about `setState` in getChildContext
94
* should update refs if shouldComponentUpdate gives false
95
96
-src/renderers/shared/stack/reconciler/__tests__/ReactCompositeComponentNestedState-test.js
96
+src/renderers/shared/shared/__tests__/ReactCompositeComponentNestedState-test.js
97
* should provide up to date values for props
98
99
-src/renderers/shared/stack/reconciler/__tests__/ReactEmptyComponent-test.js
99
+src/renderers/shared/shared/__tests__/ReactEmptyComponent-test.js
100
* should still throw when rendering to undefined
101
* throws when rendering null at the top level
102
103
-src/renderers/shared/stack/reconciler/__tests__/ReactMultiChildText-test.js
103
+src/renderers/shared/shared/__tests__/ReactMultiChildText-test.js
104
* should correctly handle all possible children for render and update
105
106
-src/renderers/shared/stack/reconciler/__tests__/ReactStatelessComponent-test.js
106
+src/renderers/shared/shared/__tests__/ReactStatelessComponent-test.js
107
* should warn when stateless component returns array
108
* should throw on string refs in pure functions
109
* should warn when using non-React functions in JSX
110
111
-src/renderers/shared/stack/reconciler/__tests__/ReactUpdates-test.js
111
+src/renderers/shared/shared/__tests__/ReactUpdates-test.js
112
* should queue mount-ready handlers across different roots
113
* marks top-level updates
114
* throws in setState if the update callback is not a function
115
* throws in replaceState if the update callback is not a function
116
* throws in forceUpdate if the update callback is not a function
117
118
-src/renderers/shared/stack/reconciler/__tests__/refs-test.js
118
+src/renderers/shared/shared/__tests__/refs-test.js
119
* Should increase refs with an increase in divs
120
121
src/test/__tests__/ReactTestUtils-test.js
scripts/fiber/tests-passing-except-dev.txt
+18
-18
@@ -45,6 +45,18 @@ src/renderers/dom/shared/__tests__/ReactDOMInvalidARIAHook-test.js
45
* should warn for many invalid aria-* props
46
* should warn for an improperly cased aria-* prop
47
48
+src/renderers/dom/shared/__tests__/ReactMount-test.js
49
+* should account for escaping on a checksum mismatch
50
+* should warn if render removes React-rendered children
51
+* should warn if the unmounted node was rendered by another copy of React
52
+
53
+src/renderers/dom/shared/__tests__/ReactMountDestruction-test.js
54
+* should warn when unmounting a non-container root node
55
+* should warn when unmounting a non-container, non-root node
56
+
57
+src/renderers/dom/shared/__tests__/ReactServerRendering-test.js
58
+* should have the correct mounting behavior
59
+
60
src/renderers/dom/shared/wrappers/__tests__/ReactDOMInput-test.js
61
* should warn if value is null
62
* should warn if controlled input switches to uncontrolled (value is null)
@@ -56,18 +68,6 @@ src/renderers/dom/shared/wrappers/__tests__/ReactDOMSelect-test.js
68
src/renderers/dom/shared/wrappers/__tests__/ReactDOMTextarea-test.js
69
* should warn if value is null
70
59
-src/renderers/dom/stack/client/__tests__/ReactMount-test.js
60
-* should account for escaping on a checksum mismatch
61
-* should warn if render removes React-rendered children
62
-* should warn if the unmounted node was rendered by another copy of React
63
-
64
-src/renderers/dom/stack/client/__tests__/ReactMountDestruction-test.js
65
-* should warn when unmounting a non-container root node
66
-* should warn when unmounting a non-container, non-root node
67
-
68
-src/renderers/dom/stack/server/__tests__/ReactServerRendering-test.js
69
-* should have the correct mounting behavior
70
-
71
src/renderers/shared/hooks/__tests__/ReactComponentTreeHook-test.js
72
* uses displayName or Unknown for classic components
73
* uses displayName, name, or ReactComponent for modern components
@@ -152,28 +152,28 @@ src/renderers/shared/hooks/__tests__/ReactHostOperationHistoryHook-test.js
152
* gets reported when a child is inserted
153
* gets reported when a child is removed
154
155
-src/renderers/shared/stack/reconciler/__tests__/ReactChildReconciler-test.js
155
+src/renderers/shared/shared/__tests__/ReactChildReconciler-test.js
156
* warns for duplicated keys
157
* warns for duplicated keys with component stack info
158
159
-src/renderers/shared/stack/reconciler/__tests__/ReactComponentLifeCycle-test.js
159
+src/renderers/shared/shared/__tests__/ReactComponentLifeCycle-test.js
160
* should correctly determine if a component is mounted
161
* should correctly determine if a null component is mounted
162
* warns if findDOMNode is used inside render
163
164
-src/renderers/shared/stack/reconciler/__tests__/ReactCompositeComponent-test.js
164
+src/renderers/shared/shared/__tests__/ReactCompositeComponent-test.js
165
* should warn about `forceUpdate` on unmounted components
166
* should warn about `setState` on unmounted components
167
* should disallow nested render calls
168
* should warn when mutated props are passed
169
170
-src/renderers/shared/stack/reconciler/__tests__/ReactMultiChild-test.js
170
+src/renderers/shared/shared/__tests__/ReactMultiChild-test.js
171
* should warn for duplicated keys with component stack info
172
173
-src/renderers/shared/stack/reconciler/__tests__/ReactMultiChildText-test.js
173
+src/renderers/shared/shared/__tests__/ReactMultiChildText-test.js
174
* should reorder keyed text nodes
175
176
-src/renderers/shared/stack/reconciler/__tests__/ReactStatelessComponent-test.js
176
+src/renderers/shared/shared/__tests__/ReactStatelessComponent-test.js
177
* should warn for childContextTypes on a functional component
178
* should warn when given a ref
179
* should use correct name in key warning
scripts/fiber/tests-passing.txt
+123
-123
@@ -560,6 +560,14 @@ src/renderers/dom/shared/__tests__/ReactBrowserEventEmitter-test.js
560
* should bubble onTouchTap
561
* should not crash ensureScrollValueMonitoring when createEvent returns null
562
563
+src/renderers/dom/shared/__tests__/ReactDOM-test.js
564
+* allows a DOM element to be used with a string
565
+* should allow children to be passed as an argument
566
+* should overwrite props.children with children argument
567
+* should purge the DOM cache when removing nodes
568
+* allow React.DOM factories to be called without warnings
569
+* preserves focus
570
+
571
src/renderers/dom/shared/__tests__/ReactDOMComponent-test.js
572
* should handle className
573
* should gracefully handle various style value types
@@ -653,12 +661,50 @@ src/renderers/dom/shared/__tests__/ReactEventListener-test.js
661
* should batch between handlers from different roots
662
* should not fire duplicate events for a React DOM tree
663
664
+src/renderers/dom/shared/__tests__/ReactMount-test.js
665
+* should render different components in same root
666
+* should unmount and remount if the key changes
667
+* should reuse markup if rendering to the same target twice
668
+* should warn if mounting into dirty rendered markup
669
+* should not warn if mounting into non-empty node
670
+* should warn when mounting into document.body
671
+* passes the correct callback context
672
+
673
+src/renderers/dom/shared/__tests__/ReactMountDestruction-test.js
674
+* should destroy a react root upon request
675
+
676
+src/renderers/dom/shared/__tests__/ReactServerRendering-test.js
677
+* should generate simple markup
678
+* should generate simple markup for self-closing tags
679
+* should generate simple markup for attribute with `>` symbol
680
+* should generate comment markup for component returns null
681
+* should render composite components
682
+* should only execute certain lifecycle methods
683
+* should throw with silly args
684
+* should not put checksum and React ID on components
685
+* should not put checksum and React ID on text components
686
+* should only execute certain lifecycle methods
687
+* should throw with silly args
688
+* allows setState in componentWillMount without using DOM
689
+* renders components with different batching strategies
690
+* warns with a no-op when an async setState is triggered
691
+* warns with a no-op when an async replaceState is triggered
692
+* warns with a no-op when an async forceUpdate is triggered
693
+* should warn when children are mutated during render
694
+
695
src/renderers/dom/shared/__tests__/escapeTextContentForBrowser-test.js
696
* should escape boolean to string
697
* should escape object to string
698
* should escape number to string
699
* should escape string
700
701
+src/renderers/dom/shared/__tests__/findDOMNode-test.js
702
+* findDOMNode should return null if passed null
703
+* findDOMNode should find dom element
704
+* findDOMNode should reject random objects
705
+* findDOMNode should reject unmounted objects with render func
706
+* findDOMNode should not throw an error when called within a component that is not mounted
707
+
708
src/renderers/dom/shared/__tests__/inputValueTracking-test.js
709
* should attach tracker to wrapper state
710
* should define `value` on the instance node
@@ -928,52 +974,6 @@ src/renderers/dom/shared/wrappers/__tests__/ReactDOMTextarea-test.js
974
* should unmount
975
* should warn if value and defaultValue are specified
976
931
-src/renderers/dom/stack/client/__tests__/ReactDOM-test.js
932
-* allows a DOM element to be used with a string
933
-* should allow children to be passed as an argument
934
-* should overwrite props.children with children argument
935
-* should purge the DOM cache when removing nodes
936
-* allow React.DOM factories to be called without warnings
937
-* preserves focus
938
-
939
-src/renderers/dom/stack/client/__tests__/ReactMount-test.js
940
-* should render different components in same root
941
-* should unmount and remount if the key changes
942
-* should reuse markup if rendering to the same target twice
943
-* should warn if mounting into dirty rendered markup
944
-* should not warn if mounting into non-empty node
945
-* should warn when mounting into document.body
946
-* passes the correct callback context
947
-
948
-src/renderers/dom/stack/client/__tests__/ReactMountDestruction-test.js
949
-* should destroy a react root upon request
950
-
951
-src/renderers/dom/stack/client/__tests__/findDOMNode-test.js
952
-* findDOMNode should return null if passed null
953
-* findDOMNode should find dom element
954
-* findDOMNode should reject random objects
955
-* findDOMNode should reject unmounted objects with render func
956
-* findDOMNode should not throw an error when called within a component that is not mounted
957
-
958
-src/renderers/dom/stack/server/__tests__/ReactServerRendering-test.js
959
-* should generate simple markup
960
-* should generate simple markup for self-closing tags
961
-* should generate simple markup for attribute with `>` symbol
962
-* should generate comment markup for component returns null
963
-* should render composite components
964
-* should only execute certain lifecycle methods
965
-* should throw with silly args
966
-* should not put checksum and React ID on components
967
-* should not put checksum and React ID on text components
968
-* should only execute certain lifecycle methods
969
-* should throw with silly args
970
-* allows setState in componentWillMount without using DOM
971
-* renders components with different batching strategies
972
-* warns with a no-op when an async setState is triggered
973
-* warns with a no-op when an async replaceState is triggered
974
-* warns with a no-op when an async forceUpdate is triggered
975
-* should warn when children are mutated during render
976
-
977
src/renderers/native/__tests__/ReactNativeAttributePayload-test.js
978
* should work with simple example
979
* should skip fields that are equal
@@ -1200,60 +1200,7 @@ src/renderers/shared/hooks/__tests__/ReactHostOperationHistoryHook-test.js
1200
* gets ignored if the type has not changed
1201
* gets ignored if new html is equal
1202
1203
-src/renderers/shared/shared/__tests__/ReactTreeTraversal-test.js
1204
-* should not traverse when traversing outside DOM
1205
-* should traverse two phase across component boundary
1206
-* should traverse two phase at shallowest node
1207
-* should not traverse when enter/leaving outside DOM
1208
-* should not traverse if enter/leave the same node
1209
-* should traverse enter/leave to sibling - avoids parent
1210
-* should traverse enter/leave to parent - avoids parent
1211
-* should enter from the window
1212
-* should enter from the window to the shallowest
1213
-* should leave to the window
1214
-* should leave to the window from the shallowest
1215
-* should determine the first common ancestor correctly
1216
-
1217
-src/renderers/shared/shared/event/__tests__/EventPluginHub-test.js
1218
-* should prevent non-function listeners, at dispatch
1219
-* should not prevent null listeners, at dispatch
1220
-
1221
-src/renderers/shared/shared/event/__tests__/EventPluginRegistry-test.js
1222
-* should be able to inject ordering before plugins
1223
-* should be able to inject plugins before and after ordering
1224
-* should be able to inject repeated plugins and out-of-order
1225
-* should throw if plugin does not implement `extractEvents`
1226
-* should throw if plugin does not exist in ordering
1227
-* should throw if ordering is injected more than once
1228
-* should throw if different plugins injected using same name
1229
-* should publish registration names of injected plugins
1230
-* should throw if multiple registration names collide
1231
-* should throw if an invalid event is published
1232
-* should be able to get the plugin from synthetic events
1233
-
1234
-src/renderers/shared/shared/event/eventPlugins/__tests__/ResponderEventPlugin-test.js
1235
-* should do nothing when no one wants to respond
1236
-* should grant responder grandParent while capturing
1237
-* should grant responder parent while capturing
1238
-* should grant responder child while capturing
1239
-* should grant responder child while bubbling
1240
-* should grant responder parent while bubbling
1241
-* should grant responder grandParent while bubbling
1242
-* should grant responder grandParent while capturing move
1243
-* should grant responder parent while capturing move
1244
-* should grant responder child while capturing move
1245
-* should grant responder child while bubbling move
1246
-* should grant responder parent while bubbling move
1247
-* should grant responder grandParent while bubbling move
1248
-* should bubble negotiation to first common ancestor of responder
1249
-* should bubble negotiation to first common ancestor of responder then transfer
1250
-* should negotiate with deepest target on second touch if nothing is responder
1251
-* should negotiate until first common ancestor when there are siblings
1252
-* should notify of being rejected. responderStart/Move happens on current responder
1253
-* should negotiate scroll
1254
-* should cancel correctly
1255
-
1256
-src/renderers/shared/stack/reconciler/__tests__/ReactComponent-test.js
1203
+src/renderers/shared/shared/__tests__/ReactComponent-test.js
1204
* should throw when supplying a ref outside of render method
1205
* should warn when children are mutated during render
1206
* should warn when children are mutated during update
@@ -1264,7 +1211,7 @@ src/renderers/shared/stack/reconciler/__tests__/ReactComponent-test.js
1211
* should call refs at the correct time
1212
* fires the callback after a component is rendered
1213
1267
-src/renderers/shared/stack/reconciler/__tests__/ReactComponentLifeCycle-test.js
1214
+src/renderers/shared/shared/__tests__/ReactComponentLifeCycle-test.js
1215
* should not reuse an instance when it has been unmounted
1216
* it should fire onDOMReady when already in onDOMReady
1217
* throws when accessing state in componentWillMount
@@ -1275,7 +1222,7 @@ src/renderers/shared/stack/reconciler/__tests__/ReactComponentLifeCycle-test.js
1222
* should allow state updates in componentDidMount
1223
* should call nested lifecycle methods in the right order
1224
1278
-src/renderers/shared/stack/reconciler/__tests__/ReactCompositeComponent-test.js
1225
+src/renderers/shared/shared/__tests__/ReactCompositeComponent-test.js
1226
* should support module pattern components
1227
* should support rendering to different child types over time
1228
* should not thrash a server rendered layout with client side one
@@ -1308,16 +1255,16 @@ src/renderers/shared/stack/reconciler/__tests__/ReactCompositeComponent-test.js
1255
* should not warn about unmounting during unmounting
1256
* should only call componentWillUnmount once
1257
1311
-src/renderers/shared/stack/reconciler/__tests__/ReactCompositeComponentDOMMinimalism-test.js
1258
+src/renderers/shared/shared/__tests__/ReactCompositeComponentDOMMinimalism-test.js
1259
* should not render extra nodes for non-interpolated text
1260
* should not render extra nodes for non-interpolated text
1261
* should not render extra nodes for non-interpolated text
1262
1316
-src/renderers/shared/stack/reconciler/__tests__/ReactCompositeComponentState-test.js
1263
+src/renderers/shared/shared/__tests__/ReactCompositeComponentState-test.js
1264
* should support setting state
1265
* should batch unmounts
1266
1320
-src/renderers/shared/stack/reconciler/__tests__/ReactEmptyComponent-test.js
1267
+src/renderers/shared/shared/__tests__/ReactEmptyComponent-test.js
1268
* should not produce child DOM nodes for null and false
1269
* should be able to switch between rendering null and a normal tag
1270
* should be able to switch in a list of children
@@ -1327,7 +1274,7 @@ src/renderers/shared/stack/reconciler/__tests__/ReactEmptyComponent-test.js
1274
* does not break when updating during mount
1275
* preserves the dom node during updates
1276
1330
-src/renderers/shared/stack/reconciler/__tests__/ReactErrorBoundaries-test.js
1277
+src/renderers/shared/shared/__tests__/ReactErrorBoundaries-test.js
1278
* does not swallow exceptions on mounting without boundaries
1279
* does not swallow exceptions on updating without boundaries
1280
* does not swallow exceptions on unmounting without boundaries
@@ -1362,7 +1309,7 @@ src/renderers/shared/stack/reconciler/__tests__/ReactErrorBoundaries-test.js
1309
* propagates errors inside boundary during componentDidMount
1310
* lets different boundaries catch their own first errors
1311
1365
-src/renderers/shared/stack/reconciler/__tests__/ReactIdentity-test.js
1312
+src/renderers/shared/shared/__tests__/ReactIdentity-test.js
1313
* should allow key property to express identity
1314
* should use composite identity
1315
* should allow any character as a key, in a detached parent
@@ -1374,7 +1321,7 @@ src/renderers/shared/stack/reconciler/__tests__/ReactIdentity-test.js
1321
* should retain key during updates in composite components
1322
* should not allow implicit and explicit keys to collide
1323
1377
-src/renderers/shared/stack/reconciler/__tests__/ReactMockedComponent-test.js
1324
+src/renderers/shared/shared/__tests__/ReactMockedComponent-test.js
1325
* should allow an implicitly mocked component to be rendered without warnings
1326
* should allow an implicitly mocked component to be updated
1327
* has custom methods on the implicitly mocked component
@@ -1382,13 +1329,13 @@ src/renderers/shared/stack/reconciler/__tests__/ReactMockedComponent-test.js
1329
* should allow an explicitly mocked component to be updated
1330
* has custom methods on the explicitly mocked component
1331
1385
-src/renderers/shared/stack/reconciler/__tests__/ReactMultiChild-test.js
1332
+src/renderers/shared/shared/__tests__/ReactMultiChild-test.js
1333
* should update children when possible
1334
* should replace children with different constructors
1335
* should NOT replace children with different owners
1336
* should replace children with different keys
1337
1391
-src/renderers/shared/stack/reconciler/__tests__/ReactMultiChildReconcile-test.js
1338
+src/renderers/shared/shared/__tests__/ReactMultiChildReconcile-test.js
1339
* should reset internal state if removed then readded
1340
* should create unique identity
1341
* should preserve order if children order has not changed
@@ -1417,11 +1364,11 @@ src/renderers/shared/stack/reconciler/__tests__/ReactMultiChildReconcile-test.js
1364
* should insert multiple new truthy children in the middle
1365
* should insert non-empty children in middle where nulls were
1366
1420
-src/renderers/shared/stack/reconciler/__tests__/ReactMultiChildText-test.js
1367
+src/renderers/shared/shared/__tests__/ReactMultiChildText-test.js
1368
* should throw if rendering both HTML and children
1369
* should render between nested components and inline children
1370
1424
-src/renderers/shared/stack/reconciler/__tests__/ReactStateSetters-test.js
1371
+src/renderers/shared/shared/__tests__/ReactStateSetters-test.js
1372
* createStateSetter should update state
1373
* createStateKeySetter should update state
1374
* createStateKeySetter is memoized
@@ -1429,7 +1376,7 @@ src/renderers/shared/stack/reconciler/__tests__/ReactStateSetters-test.js
1376
* createStateKeySetter should update state with mixin
1377
* createStateKeySetter is memoized with mixin
1378
1432
-src/renderers/shared/stack/reconciler/__tests__/ReactStatelessComponent-test.js
1379
+src/renderers/shared/shared/__tests__/ReactStatelessComponent-test.js
1380
* should render stateless component
1381
* should update stateless component
1382
* should unmount stateless component
@@ -1441,7 +1388,21 @@ src/renderers/shared/stack/reconciler/__tests__/ReactStatelessComponent-test.js
1388
* should allow simple functions to return null
1389
* should allow simple functions to return false
1390
1444
-src/renderers/shared/stack/reconciler/__tests__/ReactUpdates-test.js
1391
+src/renderers/shared/shared/__tests__/ReactTreeTraversal-test.js
1392
+* should not traverse when traversing outside DOM
1393
+* should traverse two phase across component boundary
1394
+* should traverse two phase at shallowest node
1395
+* should not traverse when enter/leaving outside DOM
1396
+* should not traverse if enter/leave the same node
1397
+* should traverse enter/leave to sibling - avoids parent
1398
+* should traverse enter/leave to parent - avoids parent
1399
+* should enter from the window
1400
+* should enter from the window to the shallowest
1401
+* should leave to the window
1402
+* should leave to the window from the shallowest
1403
+* should determine the first common ancestor correctly
1404
+
1405
+src/renderers/shared/shared/__tests__/ReactUpdates-test.js
1406
* should batch state when updating state twice
1407
* should batch state when updating two different state keys
1408
* should batch state and props together
@@ -1463,25 +1424,64 @@ src/renderers/shared/stack/reconciler/__tests__/ReactUpdates-test.js
1424
* does not update one component twice in a batch (#6371)
1425
* unstable_batchedUpdates should return value from a callback
1426
1466
-src/renderers/shared/stack/reconciler/__tests__/Transaction-test.js
1467
-* should invoke closers with/only-with init returns
1468
-* should invoke closers and wrapped method when inits success
1469
-* should throw when wrapped operation throws
1470
-* should throw errors in transaction close
1471
-* should allow nesting of transactions
1472
-
1473
-src/renderers/shared/stack/reconciler/__tests__/refs-destruction-test.js
1427
+src/renderers/shared/shared/__tests__/refs-destruction-test.js
1428
* should remove refs when destroying the parent
1429
* should remove refs when destroying the child
1430
* should not error when destroying child with ref asynchronously
1431
1478
-src/renderers/shared/stack/reconciler/__tests__/refs-test.js
1432
+src/renderers/shared/shared/__tests__/refs-test.js
1433
* Allow refs to hop around children correctly
1434
* always has a value for this.refs
1435
* ref called correctly for stateless component when __DEV__ = false
1436
* ref called correctly for stateless component when __DEV__ = true
1437
* coerces numbers to strings
1438
1439
+src/renderers/shared/shared/event/__tests__/EventPluginHub-test.js
1440
+* should prevent non-function listeners, at dispatch
1441
+* should not prevent null listeners, at dispatch
1442
+
1443
+src/renderers/shared/shared/event/__tests__/EventPluginRegistry-test.js
1444
+* should be able to inject ordering before plugins
1445
+* should be able to inject plugins before and after ordering
1446
+* should be able to inject repeated plugins and out-of-order
1447
+* should throw if plugin does not implement `extractEvents`
1448
+* should throw if plugin does not exist in ordering
1449
+* should throw if ordering is injected more than once
1450
+* should throw if different plugins injected using same name
1451
+* should publish registration names of injected plugins
1452
+* should throw if multiple registration names collide
1453
+* should throw if an invalid event is published
1454
+* should be able to get the plugin from synthetic events
1455
+
1456
+src/renderers/shared/shared/event/eventPlugins/__tests__/ResponderEventPlugin-test.js
1457
+* should do nothing when no one wants to respond
1458
+* should grant responder grandParent while capturing
1459
+* should grant responder parent while capturing
1460
+* should grant responder child while capturing
1461
+* should grant responder child while bubbling
1462
+* should grant responder parent while bubbling
1463
+* should grant responder grandParent while bubbling
1464
+* should grant responder grandParent while capturing move
1465
+* should grant responder parent while capturing move
1466
+* should grant responder child while capturing move
1467
+* should grant responder child while bubbling move
1468
+* should grant responder parent while bubbling move
1469
+* should grant responder grandParent while bubbling move
1470
+* should bubble negotiation to first common ancestor of responder
1471
+* should bubble negotiation to first common ancestor of responder then transfer
1472
+* should negotiate with deepest target on second touch if nothing is responder
1473
+* should negotiate until first common ancestor when there are siblings
1474
+* should notify of being rejected. responderStart/Move happens on current responder
1475
+* should negotiate scroll
1476
+* should cancel correctly
1477
+
1478
+src/renderers/shared/stack/reconciler/__tests__/Transaction-test.js
1479
+* should invoke closers with/only-with init returns
1480
+* should invoke closers and wrapped method when inits success
1481
+* should throw when wrapped operation throws
1482
+* should throw errors in transaction close
1483
+* should allow nesting of transactions
1484
+
1485
src/renderers/shared/utils/__tests__/ReactErrorUtils-test.js
1486
* should call the callback with only the passed argument
1487
* should catch errors