Fix memory leak in TabView-test.js (#3742)

This commit is contained in:
Michał Pierzchała 2018-03-15 20:25:08 +01:00 committed by Brent Vatne
parent 5bf071e3ee
commit 5038ee2360

View File

@ -10,6 +10,8 @@ const dummyEventSubscriber = (name, handler) => ({
});
describe('TabBarBottom', () => {
jest.useFakeTimers();
it('renders successfully', () => {
const route = { key: 's1', routeName: 's1' };
const navigation = {