@samitouri / QOS-React / commits / 9a42f8a0c5

Update passing tests

Dan Abramov committed Nov 14, 2016 at 13:20 UTC 9a42f8a0c51320384bae5e105e16aa4954990b81
3 files changed +120 -94
scripts/fiber/tests-failing.txt
-93
@@ -18,14 +18,9 @@ src/addons/transitions/__tests__/ReactCSSTransitionGroup-test.js
18 * should transition from one to null
19 * should transition from false to one
20
21 -src/addons/transitions/__tests__/ReactTransitionGroup-test.js
22 -* should warn for duplicated keys with component stack info
23 -
21 src/isomorphic/classic/__tests__/ReactContextValidator-test.js
22 * should filter out context not in contextTypes
23 * should filter context properly in callbacks
27 -* should check context types
28 -* should check child context types
24
25 src/isomorphic/classic/class/__tests__/ReactBind-test.js
26 * Holds reference to instance
@@ -39,12 +34,7 @@ src/isomorphic/classic/class/__tests__/ReactBindOptout-test.js
34 src/isomorphic/classic/class/__tests__/ReactClass-test.js
35 * renders based on context getInitialState
36
42 -src/isomorphic/classic/element/__tests__/ReactElementClone-test.js
43 -* should check declared prop types after clone
44 -
37 src/isomorphic/classic/element/__tests__/ReactElementValidator-test.js
46 -* warns for keys with component stack info
47 -* should give context for PropType errors in nested components.
38 * includes the owner name when passing null, undefined, boolean, or number
39
40 src/isomorphic/modern/class/__tests__/ReactCoffeeScriptClass-test.coffee
@@ -61,7 +51,6 @@ src/isomorphic/modern/class/__tests__/ReactTypeScriptClass-test.ts
51
52 src/isomorphic/modern/element/__tests__/ReactJSXElementValidator-test.js
53 * should give context for PropType errors in nested components.
64 -* should warn on invalid context types
54
55 src/renderers/art/__tests__/ReactART-test.js
56 * should have the correct lifecycle state
@@ -74,11 +63,6 @@ src/renderers/art/__tests__/ReactART-test.js
63
64 src/renderers/dom/shared/__tests__/CSSPropertyOperations-test.js
65 * should set style attribute when styles exist
77 -* should warn when using hyphenated style names
78 -* should warn when updating hyphenated style names
79 -* warns when miscapitalizing vendored style names
80 -* should warn about style having a trailing semicolon
81 -* should warn about style containing a NaN value
66
67 src/renderers/dom/shared/__tests__/ReactBrowserEventEmitter-test.js
68 * should store a listener correctly
@@ -107,11 +91,6 @@ src/renderers/dom/shared/__tests__/ReactDOMComponent-test.js
91 * should handle className
92 * should gracefully handle various style value types
93 * should update styles when mutating style object
110 -* should warn when mutating style
111 -* should warn for unknown prop
112 -* should group multiple unknown prop warnings together
113 -* should warn for onDblClick prop
114 -* should warn nicely about NaN in style
94 * should update styles if initially null
95 * should update styles if updated to null multiple times
96 * should allow named slot projection on both web components and regular DOM elements
@@ -119,8 +98,6 @@ src/renderers/dom/shared/__tests__/ReactDOMComponent-test.js
98 * should remove properties
99 * should properly update custom attributes on custom elements
100 * should clear a single style prop when changing `style`
122 -* should reject attribute key injection attack on markup
123 -* should reject attribute key injection attack on update
101 * should update arbitrary attributes for tags containing dashes
102 * should update styles when `style` changes from null to object
103 * should empty element when removing innerHTML
@@ -133,17 +110,12 @@ src/renderers/dom/shared/__tests__/ReactDOMComponent-test.js
110 * should not incur unnecessary DOM mutations for boolean properties
111 * should ignore attribute whitelist for elements with the "is: attribute
112 * should not update when switching between null/undefined
136 -* should work error event on <source> element
113 * should warn against children for void elements
114 * should warn against dangerouslySetInnerHTML for void elements
139 -* should emit a warning once for a named custom component using shady DOM
140 -* should emit a warning once for an unnamed custom component using shady DOM
115 * should treat menuitem as a void element but still create the closing tag
116 * should validate against multiple children props
143 -* should validate against use of innerHTML
117 * should validate use of dangerouslySetInnerHTML
118 * should validate use of dangerouslySetInnerHTML
146 -* should warn about contentEditable and children
119 * should validate against invalid styles
120 * should track input values
121 * should track textarea values
@@ -154,39 +126,21 @@ src/renderers/dom/shared/__tests__/ReactDOMComponent-test.js
126 * should warn against children for void elements
127 * should warn against dangerouslySetInnerHTML for void elements
128 * should validate against multiple children props
157 -* should warn about contentEditable and children
129 * should validate against invalid styles
130 * should report component containing invalid styles
131 * should clean up listeners
132 * should clean up input value tracking
133 * should clean up input textarea tracking
163 -* should warn about the `onScroll` issue when unsupported (IE8)
134 * should throw when an invalid tag name is used
135 * should throw when an attack vector is used
166 -* warns on invalid nesting
167 -* warns on invalid nesting at root
168 -* warns nicely for table rows
169 -* gives useful context in warnings
170 -* should warn about incorrect casing on properties (ssr)
171 -* should warn about incorrect casing on event handlers (ssr)
172 -* should warn about incorrect casing on properties
173 -* should warn about incorrect casing on event handlers
174 -* should warn about class
175 -* should warn about props that are no longer supported
136 * gives source code refs for unknown prop warning
137 * gives source code refs for unknown prop warning for update render
138 * gives source code refs for unknown prop warning for exact elements
139 * gives source code refs for unknown prop warning for exact elements in composition
180 -* should suggest property name if available
140
141 src/renderers/dom/shared/__tests__/ReactDOMComponentTree-test.js
142 * finds instances for nodes
143
185 -src/renderers/dom/shared/__tests__/ReactDOMInvalidARIAHook-test.js
186 -* should warn for one invalid aria-* prop
187 -* should warn for many invalid aria-* props
188 -* should warn for an improperly cased aria-* prop
189 -
144 src/renderers/dom/shared/__tests__/ReactDOMTextComponent-test.js
145 * can reconcile text merged by Node.normalize() alongside other elements
146 * can reconcile text merged by Node.normalize()
@@ -272,27 +226,6 @@ src/renderers/dom/shared/wrappers/__tests__/ReactDOMInput-test.js
226 * should have the correct target value
227 * should control radio buttons
228 * should control radio buttons if the tree updates during render
275 -* should warn with value and no onChange handler and readOnly specified
276 -* should warn with checked and no onChange handler with readOnly specified
277 -* should warn if value is null
278 -* should warn if checked and defaultChecked props are specified
279 -* should warn if value and defaultValue props are specified
280 -* should warn if controlled input switches to uncontrolled (value is undefined)
281 -* should warn if controlled input switches to uncontrolled (value is null)
282 -* should warn if controlled input switches to uncontrolled with defaultValue
283 -* should warn if uncontrolled input (value is undefined) switches to controlled
284 -* should warn if uncontrolled input (value is null) switches to controlled
285 -* should warn if controlled checkbox switches to uncontrolled (checked is undefined)
286 -* should warn if controlled checkbox switches to uncontrolled (checked is null)
287 -* should warn if controlled checkbox switches to uncontrolled with defaultChecked
288 -* should warn if uncontrolled checkbox (checked is undefined) switches to controlled
289 -* should warn if uncontrolled checkbox (checked is null) switches to controlled
290 -* should warn if controlled radio switches to uncontrolled (checked is undefined)
291 -* should warn if controlled radio switches to uncontrolled (checked is null)
292 -* should warn if controlled radio switches to uncontrolled with defaultChecked
293 -* should warn if uncontrolled radio (checked is undefined) switches to controlled
294 -* should warn if uncontrolled radio (checked is null) switches to controlled
295 -* should warn if radio checked false changes to become uncontrolled
229 * sets type, step, min, max before value always
230 * sets value properly with type coming later in props
231 * does not raise a validation warning when it switches types
@@ -318,9 +251,7 @@ src/renderers/dom/shared/wrappers/__tests__/ReactDOMSelect-test.js
251 * should remember value when switching to uncontrolled
252 * should remember updated value when switching to uncontrolled
253 * should not control defaultValue if readding options
321 -* should warn if value is null
254 * should refresh state on change
323 -* should warn if value and defaultValue props are specified
255 * should select grandchild options nested inside an optgroup
256
257 src/renderers/dom/shared/wrappers/__tests__/ReactDOMTextarea-test.js
@@ -341,12 +272,9 @@ src/renderers/dom/shared/wrappers/__tests__/ReactDOMTextarea-test.js
272 * should treat children like `defaultValue`
273 * should keep value when switching to uncontrolled element if not changed
274 * should keep value when switching to uncontrolled element if changed
344 -* should allow numbers as children
275 * should allow booleans as children
276 * should allow objects as children
277 * should throw with multiple or invalid children
348 -* should warn if value is null
349 -* should warn if value and defaultValue are specified
278
279 src/renderers/dom/stack/client/__tests__/ReactDOM-test.js
280 * throws in render() if the mount callback is not a function
@@ -356,16 +284,9 @@ src/renderers/dom/stack/client/__tests__/ReactMount-test.js
284 * throws when given a non-node
285 * throws when given a string
286 * throws when given a factory
359 -* should account for escaping on a checksum mismatch
360 -* should warn if render removes React-rendered children
361 -* should warn if the unmounted node was rendered by another copy of React
287 * tracks root instances
288 * marks top-level mounts
289
365 -src/renderers/dom/stack/client/__tests__/ReactMountDestruction-test.js
366 -* should warn when unmounting a non-container root node
367 -* should warn when unmounting a non-container, non-root node
368 -
290 src/renderers/dom/stack/client/__tests__/ReactRenderDocument-test.js
291 * should be able to adopt server markup
292 * should not be able to unmount component from document node
@@ -511,9 +432,6 @@ src/renderers/shared/stack/reconciler/__tests__/ReactComponent-test.js
432 * throws usefully when rendering badly-typed elements
433
434 src/renderers/shared/stack/reconciler/__tests__/ReactComponentLifeCycle-test.js
514 -* should correctly determine if a component is mounted
515 -* should correctly determine if a null component is mounted
516 -* warns if findDOMNode is used inside render
435 * should carry through each of the phases of setup
436
437 src/renderers/shared/stack/reconciler/__tests__/ReactCompositeComponent-test.js
@@ -530,10 +448,8 @@ src/renderers/shared/stack/reconciler/__tests__/ReactCompositeComponent-test.js
448 * should pass context when re-rendered
449 * unmasked context propagates through updates
450 * should trigger componentWillReceiveProps for context changes
533 -* should disallow nested render calls
451 * should update refs if shouldComponentUpdate gives false
452 * should support objects with prototypes as state
536 -* should warn when mutated props are passed
453
454 src/renderers/shared/stack/reconciler/__tests__/ReactCompositeComponentNestedState-test.js
455 * should provide up to date values for props
@@ -546,20 +462,14 @@ src/renderers/shared/stack/reconciler/__tests__/ReactEmptyComponent-test.js
462 * throws when rendering null at the top level
463 * preserves the dom node during updates
464
549 -src/renderers/shared/stack/reconciler/__tests__/ReactMultiChild-test.js
550 -* should warn for duplicated keys with component stack info
551 -
465 src/renderers/shared/stack/reconciler/__tests__/ReactMultiChildText-test.js
466 * should correctly handle all possible children for render and update
467 * should throw if rendering both HTML and children
555 -* should reorder keyed text nodes
468
469 src/renderers/shared/stack/reconciler/__tests__/ReactStatelessComponent-test.js
470 * should pass context thru stateless component
559 -* should warn for childContextTypes on a functional component
471 * should warn when stateless component returns array
472 * should throw on string refs in pure functions
562 -* should warn when given a ref
473 * should receive context
474 * should warn when using non-React functions in JSX
475
@@ -575,9 +485,6 @@ src/renderers/shared/stack/reconciler/__tests__/ReactUpdates-test.js
485 src/renderers/shared/stack/reconciler/__tests__/refs-test.js
486 * Should increase refs with an increase in divs
487
578 -src/shared/utils/__tests__/traverseAllChildren-test.js
579 -* should warn for using maps as children with owner info
580 -
488 src/test/__tests__/ReactTestUtils-test.js
489 * should support injected wrapper components as DOM components
490 * should change the value of an input field
scripts/fiber/tests-passing-except-dev.txt
+120
@@ -1,3 +1,123 @@
1 +src/addons/transitions/__tests__/ReactTransitionGroup-test.js
2 +* should warn for duplicated keys with component stack info
3 +
4 +src/isomorphic/classic/__tests__/ReactContextValidator-test.js
5 +* should check context types
6 +* should check child context types
7 +
8 +src/isomorphic/classic/element/__tests__/ReactElementClone-test.js
9 +* should check declared prop types after clone
10 +
11 +src/isomorphic/classic/element/__tests__/ReactElementValidator-test.js
12 +* warns for keys with component stack info
13 +* should give context for PropType errors in nested components.
14 +
15 +src/isomorphic/modern/element/__tests__/ReactJSXElementValidator-test.js
16 +* should warn on invalid context types
17 +
18 +src/renderers/dom/shared/__tests__/CSSPropertyOperations-test.js
19 +* should warn when using hyphenated style names
20 +* should warn when updating hyphenated style names
21 +* warns when miscapitalizing vendored style names
22 +* should warn about style having a trailing semicolon
23 +* should warn about style containing a NaN value
24 +
25 +src/renderers/dom/shared/__tests__/ReactDOMComponent-test.js
26 +* should warn when mutating style
27 +* should warn for unknown prop
28 +* should group multiple unknown prop warnings together
29 +* should warn for onDblClick prop
30 +* should warn nicely about NaN in style
31 +* should reject attribute key injection attack on markup
32 +* should reject attribute key injection attack on update
33 +* should work error event on <source> element
34 +* should emit a warning once for a named custom component using shady DOM
35 +* should emit a warning once for an unnamed custom component using shady DOM
36 +* should validate against use of innerHTML
37 +* should warn about contentEditable and children
38 +* should warn about contentEditable and children
39 +* should warn about the `onScroll` issue when unsupported (IE8)
40 +* should not warn when server-side rendering `onScroll`
41 +* warns on invalid nesting
42 +* warns on invalid nesting at root
43 +* warns nicely for table rows
44 +* gives useful context in warnings
45 +* should warn about incorrect casing on properties (ssr)
46 +* should warn about incorrect casing on event handlers (ssr)
47 +* should warn about incorrect casing on properties
48 +* should warn about incorrect casing on event handlers
49 +* should warn about class
50 +* should warn about props that are no longer supported
51 +* should suggest property name if available
52 +
53 +src/renderers/dom/shared/__tests__/ReactDOMInvalidARIAHook-test.js
54 +* should warn for one invalid aria-* prop
55 +* should warn for many invalid aria-* props
56 +* should warn for an improperly cased aria-* prop
57 +
58 +src/renderers/dom/shared/wrappers/__tests__/ReactDOMInput-test.js
59 +* should warn with value and no onChange handler and readOnly specified
60 +* should warn with checked and no onChange handler with readOnly specified
61 +* should warn if value is null
62 +* should warn if checked and defaultChecked props are specified
63 +* should warn if value and defaultValue props are specified
64 +* should warn if controlled input switches to uncontrolled (value is undefined)
65 +* should warn if controlled input switches to uncontrolled (value is null)
66 +* should warn if controlled input switches to uncontrolled with defaultValue
67 +* should warn if uncontrolled input (value is undefined) switches to controlled
68 +* should warn if uncontrolled input (value is null) switches to controlled
69 +* should warn if controlled checkbox switches to uncontrolled (checked is undefined)
70 +* should warn if controlled checkbox switches to uncontrolled (checked is null)
71 +* should warn if controlled checkbox switches to uncontrolled with defaultChecked
72 +* should warn if uncontrolled checkbox (checked is undefined) switches to controlled
73 +* should warn if uncontrolled checkbox (checked is null) switches to controlled
74 +* should warn if controlled radio switches to uncontrolled (checked is undefined)
75 +* should warn if controlled radio switches to uncontrolled (checked is null)
76 +* should warn if controlled radio switches to uncontrolled with defaultChecked
77 +* should warn if uncontrolled radio (checked is undefined) switches to controlled
78 +* should warn if uncontrolled radio (checked is null) switches to controlled
79 +* should warn if radio checked false changes to become uncontrolled
80 +
81 +src/renderers/dom/shared/wrappers/__tests__/ReactDOMSelect-test.js
82 +* should warn if value is null
83 +* should warn if value and defaultValue props are specified
84 +
85 +src/renderers/dom/shared/wrappers/__tests__/ReactDOMTextarea-test.js
86 +* should allow numbers as children
87 +* should warn if value is null
88 +* should warn if value and defaultValue are specified
89 +
90 +src/renderers/dom/stack/client/__tests__/ReactMount-test.js
91 +* should account for escaping on a checksum mismatch
92 +* should warn if render removes React-rendered children
93 +* should warn if the unmounted node was rendered by another copy of React
94 +
95 +src/renderers/dom/stack/client/__tests__/ReactMountDestruction-test.js
96 +* should warn when unmounting a non-container root node
97 +* should warn when unmounting a non-container, non-root node
98 +
99 src/renderers/shared/stack/reconciler/__tests__/ReactChildReconciler-test.js
100 * warns for duplicated keys
101 * warns for duplicated keys with component stack info
102 +
103 +src/renderers/shared/stack/reconciler/__tests__/ReactComponentLifeCycle-test.js
104 +* should correctly determine if a component is mounted
105 +* should correctly determine if a null component is mounted
106 +* warns if findDOMNode is used inside render
107 +
108 +src/renderers/shared/stack/reconciler/__tests__/ReactCompositeComponent-test.js
109 +* should disallow nested render calls
110 +* should warn when mutated props are passed
111 +
112 +src/renderers/shared/stack/reconciler/__tests__/ReactMultiChild-test.js
113 +* should warn for duplicated keys with component stack info
114 +
115 +src/renderers/shared/stack/reconciler/__tests__/ReactMultiChildText-test.js
116 +* should reorder keyed text nodes
117 +
118 +src/renderers/shared/stack/reconciler/__tests__/ReactStatelessComponent-test.js
119 +* should warn for childContextTypes on a functional component
120 +* should warn when given a ref
121 +
122 +src/shared/utils/__tests__/traverseAllChildren-test.js
123 +* should warn for using maps as children with owner info
scripts/fiber/tests-passing.txt
-1
@@ -522,7 +522,6 @@ src/renderers/dom/shared/__tests__/ReactDOMComponent-test.js
522 * should respect suppressContentEditableWarning
523 * should properly escape text content and attributes values
524 * unmounts children before unsetting DOM node info
525 -* should not warn when server-side rendering `onScroll`
525
526 src/renderers/dom/shared/__tests__/ReactDOMComponentTree-test.js
527 * finds nodes for instances