mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
0a2e0f777b
Summary: The Flow Parser's snapshots, which are serializations of the CodegenSchema object, are extremely difficult to read. In this diff, I explicitly serialized the schema objects using Node's `util.inspect`. **Benefits:** - The snapshots are more readable now. - You can copy-paste the objects from the snapshot files directly into the Chrome console, or into other JavaScript files. This is a very useful feature, when we're testing the generators, or other infra that depends on the codegen. Changelog: [Internal] Reviewed By: hramos Differential Revision: D24063112 fbshipit-source-id: 2c6ec3424aac8bab2688dc6ae286b73f90e4bef1