forked from Ivasoft/mattermost-mobile
Fix : Clean up imports
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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 */
|
||||
|
||||
@@ -21,7 +21,6 @@ global.window = {};
|
||||
|
||||
jest.doMock('react-native', () => {
|
||||
const {
|
||||
Appearance,
|
||||
Platform,
|
||||
StyleSheet,
|
||||
ViewPropTypes,
|
||||
|
||||
Reference in New Issue
Block a user