react/scripts/jest
Nathan Hunzaker a079011f95 🔥 Stop syncing the value attribute on inputs (behind a feature flag) (#13526)
* 🔥 Stop syncing the value attribute on inputs

* Eliminate some additional checks

* Remove initialValue and initialWrapper from wrapperState flow type

* Update tests with new sync logic, reduce some operations

* Update tests, add some caveats for SSR mismatches

* Revert newline change

* Remove unused type

* Call toString to safely type string values

* Add disableInputAttributeSyncing feature flag

Reverts tests to original state, adds attribute sync feature flag,
then moves all affected tests to ReactFire-test.js.

* Revert position of types in toStringValues

* Invert flag on number input blur

* Add clarification why double blur is necessary

* Update ReactFire number cases to be more explicite about blur

* Move comments to reduce diff size

* Add comments to clarify behavior in each branch

* There is no need to assign a different checked behavior in Fire

* Use checked reference

* Format

* Avoid precomputing stringable values

* Revert getToStringValue comment

* Revert placement of undefined in getToStringValue

* Do not eagerly stringify value

* Unify Fire test cases with normal ones

* Revert toString change. Only assign unsynced values when not nully
2018-09-12 19:29:23 +01:00
..
matchers Drop the year from Facebook copyright headers and the LICENSE file. (#13593) 2018-09-07 15:11:23 -07:00
spec-equivalence-reporter Drop the year from Facebook copyright headers and the LICENSE file. (#13593) 2018-09-07 15:11:23 -07:00
typescript Enforce presence or absence of component stack in tests (#13215) 2018-07-16 20:20:18 +01:00
config.base.js Resolve host configs at build time (#12792) 2018-05-19 11:29:11 +01:00
config.build.js Allow reading default feature flags from bundle tests (#13629) 2018-09-12 16:56:04 +01:00
config.source-fire.js Run tests for Fire feature flags (#13628) 2018-09-12 16:17:36 +01:00
config.source.js Resolve host configs at build time (#12792) 2018-05-19 11:29:11 +01:00
dont-run-jest-directly.js Add error when running jest directly (#12726) 2018-05-01 12:46:17 -07:00
noHaste.js Forbid Haste in Jest (#11647) 2017-11-23 18:02:47 +00:00
preprocessor.js Add a build step to hoist warning conditions (#12537) 2018-04-04 17:04:40 +01:00
setupEnvironment.js Interaction tracking follow up (#13509) 2018-09-01 12:00:00 -07:00
setupFire.js 🔥 Stop syncing the value attribute on inputs (behind a feature flag) (#13526) 2018-09-12 19:29:23 +01:00
setupHostConfigs.js Reorganize how shared internals are accessed (#13201) 2018-07-13 02:45:37 +01:00
setupTests.js interaction-tracking package (#13234) 2018-08-17 10:16:05 -06:00
shouldIgnoreConsoleError.js Don't suppress jsdom error reporting in our tests (#13401) 2018-08-15 17:44:46 +01:00