mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
Add test to ensure extra zeros are covered by tests (#10033)
* Add test to ensure extra zeros are covered by tests * Add DOM test fixture for trailing zeros * Drop quotes to improve clarity
This commit is contained in:
committed by
Brandon Dail
parent
dccc3850dc
commit
9d13557244
@@ -1657,6 +1657,7 @@ src/renderers/dom/shared/wrappers/__tests__/ReactDOMInput-test.js
|
||||
* does change the string "2" to "2.0" with no change handler
|
||||
* changes the number 2 to "2.0" using a change handler
|
||||
* does change the string ".98" to "0.98" with no change handler
|
||||
* distinguishes precision for extra zeroes in string number values
|
||||
* should display `defaultValue` of number 0
|
||||
* only assigns defaultValue if it changes
|
||||
* should display "true" for `defaultValue` of `true`
|
||||
|
||||
Reference in New Issue
Block a user