fix(preprocessor): return object, not just code (#33576)
fix(preprocessor): return object, not just code (#33576)

Summary:
Jest 28 will error if only a string is returned from a transfomer, it needs to be an object of `{code: string, map?: object}`. Returning an object has been supported since https://github.com/facebook/jest/pull/2290, released in Jest v20.

## Changelog

<!-- Help reviewers and the release process by writing your own changelog entry. For an example, see:
https://github.com/facebook/react-native/wiki/Changelog
-->

[Internal] [Fixed] - Return object from Jest preprocessor

Pull Request resolved: https://github.com/facebook/react-native/pull/33576

Test Plan: Green CI?

Reviewed By: motiz88

Differential Revision: D35426748

Pulled By: robhogan

fbshipit-source-id: 3edb79b62b2d34274be192061817d3fcd8a7ba17

janicduplessis/react-native,facebook/react-native,facebook/react-native,javache/react-native,javache/react-native,janicduplessis/react-native,facebook/react-native,janicduplessis/react-native,javache/react-native,facebook/react-native,facebook/react-native,javache/react-native,facebook/react-native,janicduplessis/react-native,facebook/react-native,javache/react-native,facebook/react-native,facebook/react-native,javache/react-native,javache/react-native,janicduplessis/react-native,javache/react-native,janicduplessis/react-native,janicduplessis/react-native,janicduplessis/react-native,javache/react-native