mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-28 20:25:33 +08:00
Remove global babelHelpers and regenerator (#21283)
Summary:
Follow up to 8932a9caa8
Babel helpers and regenerator runtime will be imported automatically from `babel/runtime`. We still need to add the global regeneratorRuntime for jest tests since we disable babel-runtime currently.
Pull Request resolved: https://github.com/facebook/react-native/pull/21283
Reviewed By: mjesun
Differential Revision: D10010963
Pulled By: rafeca
fbshipit-source-id: da5e23dd901f8f8940d46816b4fc9290d0e28c76
This commit is contained in:
committed by
Facebook Github Bot
parent
544adcaf4f
commit
458d56c0a1
@@ -92,7 +92,6 @@ jest
|
||||
})
|
||||
.mock('ensureComponentIsNative', () => () => true);
|
||||
|
||||
const mockEmptyObject = {};
|
||||
const mockNativeModules = {
|
||||
AlertManager: {
|
||||
alertWithArgs: jest.fn(),
|
||||
|
||||
Reference in New Issue
Block a user