Remove duplicated config types
Remove duplicated config types

Summary: This diff removes the `convertNewToOld` config method, which was only used by the unit tests (since there's no need to convert a new config object into an old one). As part of this, the config tests have been tweaked and simplified a bit, while keeping similar assertions and adding some more checks.

Reviewed By: mjesun

Differential Revision: D10015079

fbshipit-source-id: ba4fbd09cd4f97168bc1a2dbcec2699a00243637

facebook/react-native,myntra/react-native,facebook/react-native,javache/react-native,exponentjs/react-native,hammerandchisel/react-native,hoangpham95/react-native,hammerandchisel/react-native,hammerandchisel/react-native,janicduplessis/react-native,myntra/react-native,janicduplessis/react-native,janicduplessis/react-native,exponentjs/react-native,arthuralee/react-native,myntra/react-native,myntra/react-native,facebook/react-native,javache/react-native,facebook/react-native,hammerandchisel/react-native,hoangpham95/react-native,exponentjs/react-native,arthuralee/react-native,pandiaraj44/react-native,hoangpham95/react-native,myntra/react-native,exponentjs/react-native,pandiaraj44/react-native,hoangpham95/react-native,hoangpham95/react-native,javache/react-native,javache/react-native,exponentjs/react-native,pandiaraj44/react-native,pandiaraj44/react-native,javache/react-native,janicduplessis/react-native,arthuralee/react-native,facebook/react-native,exponent/react-native,arthuralee/react-native,exponent/react-native,facebook/react-native,pandiaraj44/react-native,exponentjs/react-native,facebook/react-native,exponent/react-native,exponent/react-native,javache/react-native,facebook/react-native,javache/react-native,myntra/react-native,hoangpham95/react-native,exponent/react-native,javache/react-native,janicduplessis/react-native,myntra/react-native,hammerandchisel/react-native,pandiaraj44/react-native,hammerandchisel/react-native,hammerandchisel/react-native,javache/react-native,pandiaraj44/react-native,myntra/react-native,arthuralee/react-native,hammerandchisel/react-native,exponent/react-native,hoangpham95/react-native,pandiaraj44/react-native,exponentjs/react-native,janicduplessis/react-native,exponentjs/react-native,janicduplessis/react-native,janicduplessis/react-native,exponent/react-native,myntra/react-native,facebook/react-native,exponent/react-native,hoangpham95/react-native