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
..
2021-02-02 11:12:56 -08:00
2021-04-15 13:30:31 -07:00
2021-03-26 23:48:28 -07:00
2021-06-02 22:36:13 -07:00
2021-04-12 06:27:20 -07:00
2021-06-01 09:01:26 -07:00
2021-05-21 14:49:51 -07:00
2021-03-31 18:21:47 -07:00
2021-06-04 13:05:11 -07:00
2021-06-02 01:31:50 -07:00
2021-05-03 11:50:02 -07:00
2021-06-01 09:01:26 -07:00
2021-04-28 11:07:17 -07:00
2021-02-02 11:12:56 -08:00
2021-04-29 10:39:25 -07:00
2021-06-01 09:01:26 -07:00
2021-06-01 09:01:26 -07:00
2020-07-22 09:46:16 -07:00
2021-03-23 14:37:25 -07:00
2021-03-10 16:06:26 -08:00
2021-04-29 10:39:25 -07:00
2021-06-01 09:01:26 -07:00
2021-06-01 09:01:26 -07:00
2021-06-01 09:01:26 -07:00
2021-05-21 14:49:51 -07:00
2021-03-09 10:39:20 -08:00
2021-02-02 11:12:56 -08:00
2021-06-02 18:39:52 -07:00
2021-04-29 17:13:29 -07:00
2021-03-22 06:46:00 -07:00
2021-05-19 12:23:39 -07:00
2021-03-31 18:21:47 -07:00
2021-04-29 10:39:25 -07:00
2021-04-28 11:07:17 -07:00
2021-05-26 00:04:19 -07:00
2021-05-17 01:04:32 -07:00
2020-12-07 10:49:29 -08:00
2021-05-25 10:24:00 -07:00
2021-04-29 10:39:25 -07:00
2021-02-02 11:12:56 -08:00
2021-02-02 11:12:56 -08:00
2021-04-02 15:07:54 -07:00
2020-10-20 05:58:21 -07:00
2020-12-03 19:09:50 -08:00
2021-06-01 15:29:59 -07:00
2021-05-27 10:42:34 -07:00
2021-04-26 22:57:55 -07:00
2021-04-29 10:39:25 -07:00
2021-06-01 09:01:26 -07:00
2021-04-12 12:43:07 -07:00
2021-04-29 10:39:25 -07:00
2021-04-12 06:27:20 -07:00
2020-03-04 05:01:53 -08:00
2021-06-01 09:01:26 -07:00
2018-02-27 08:42:14 -08:00
2021-05-20 10:07:37 -07:00
2020-10-19 15:24:38 -07:00
2021-06-01 09:01:26 -07:00
2020-07-22 09:46:16 -07:00