react-native-macos/Libraries/Components/ScrollView
Rubén Norte 249b8d21c4 Fix inline requires for ESM in react-native-github
Summary:
This fixes how ES modules are handled in Jest tests in the react-native codebase.

They caused some problems before because `import` statements weren't inlined as `require` calls were, so there were some errors in tests when migrating from CommonJS to ESM.

This changes the transform that Jest uses to inline import statements the same way, so we can migrate everything without issues in tests.

Changelog: [Internal]

Reviewed By: kacieb

Differential Revision: D28899692

fbshipit-source-id: 027690f57ca3b5613c261a1089c0635af76662b2
2021-06-04 13:05:11 -07:00
..
__tests__ Fix inline requires for ESM in react-native-github 2021-06-04 13:05:11 -07:00
AndroidHorizontalScrollContentViewNativeComponent.js Fix RTL scrolling 2021-02-25 10:09:32 -08:00
AndroidHorizontalScrollViewNativeComponent.js Convert require to import in Libraries/Components 2021-04-26 12:50:59 -07:00
ScrollContentViewNativeComponent.js Convert require to import in Libraries/Components 2021-04-26 12:50:59 -07:00
ScrollView.js pre-suppress Flow errors in xplat ahead of 153 release 2021-06-01 09:01:26 -07:00
ScrollViewCommands.js Fabric: add native commands support to ScrollView 2019-11-10 17:19:00 -08:00
ScrollViewContext.js Remove "use strict" directive from ES Modules 2021-02-02 11:12:56 -08:00
ScrollViewNativeComponent.js Convert require to import in Libraries/Components 2021-04-26 12:50:59 -07:00
ScrollViewNativeComponentType.js RN: Migrate `ScrollView` to NativeComponentRegistry 2020-11-19 15:55:23 -08:00
ScrollViewStickyHeader.js Cleanup to ship ScrollViewStickyHeader experiment 2021-05-05 15:23:23 -07:00
ScrollViewViewConfig.js RN: Update ViewConfig for ScrollView 2020-11-19 02:52:00 -08:00
processDecelerationRate.js Remove "use strict" directive from ES Modules 2021-02-02 11:12:56 -08:00