Skip to content
This repository was archived by the owner on Jul 30, 2020. It is now read-only.

Commit 5707853

Browse files
committed
fix: change mock to doMock
1 parent fd710f4 commit 5707853

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/preset/mock-modules.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jest.doMock('Picker', () => {
3131
});
3232

3333
// Re-mock ReactNative with native methods mocked
34-
jest.mock('NativeAnimatedHelper').mock('ReactNative', () => {
34+
jest.mock('NativeAnimatedHelper').doMock('ReactNative', () => {
3535
const ReactNative = jest.requireActual('ReactNative');
3636
const NativeMethodsMixin =
3737
ReactNative.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.NativeMethodsMixin;

0 commit comments

Comments
 (0)