mirror of
https://github.com/zhigang1992/react-native-paper.git
synced 2026-06-10 07:19:40 +08:00
fix: warning in console when running tests (#1028)
This commit is contained in:
@@ -2,6 +2,8 @@ import * as React from 'react';
|
||||
import renderer from 'react-test-renderer';
|
||||
import BottomNavigation from '../BottomNavigation.tsx';
|
||||
|
||||
jest.useFakeTimers();
|
||||
|
||||
jest.mock('Animated', () => {
|
||||
const ActualAnimated = jest.requireActual('Animated');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user