Fix : Clean up imports

This commit is contained in:
Avinash Lingaloo
2021-06-14 10:02:02 +04:00
parent 2a119ba07b
commit d7ddbcc0d5
3 changed files with 5 additions and 8 deletions

View File

@@ -5,7 +5,7 @@ import Operator from '@database/operator';
import {ServerUrlChangedArgs} from '@typings/database/database';
import {IsolatedEntities} from '@typings/database/enums';
import System from '@typings/database/system';
import {getActiveServerDatabase, getDefaultDatabase} from '@utils/database';
import {getActiveServerDatabase} from '@utils/database';
/**
* setLastUpgradeCheck: Takes in 'config' record from System entity and update its lastUpdateCheck to Date.now()

View File

@@ -1,17 +1,15 @@
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
import DatabaseManager from '@database/manager';
import {DEFAULT_LOCALE, getTranslations} from '@i18n';
import {withManagedConfig} from '@mattermost/react-native-emm';
import React from 'react';
import {Platform, StyleProp, ViewStyle} from 'react-native';
import {IntlProvider} from 'react-intl';
import {Navigation, NavigationFunctionComponent} from 'react-native-navigation';
import {Platform, StyleProp, ViewStyle} from 'react-native';
import {gestureHandlerRootHOC} from 'react-native-gesture-handler';
import DatabaseProvider from '@nozbe/watermelondb/DatabaseProvider';
import {Navigation, NavigationFunctionComponent} from 'react-native-navigation';
import {Screens} from '@constants';
import {DEFAULT_LOCALE, getTranslations} from '@i18n';
// TODO: Remove this and uncomment screens as they get added
/* eslint-disable */

View File

@@ -21,7 +21,6 @@ global.window = {};
jest.doMock('react-native', () => {
const {
Appearance,
Platform,
StyleSheet,
ViewPropTypes,