text: /**
   * Copyright (c) Garuda Labs, Inc.
   *
   * This source code is licensed under the MIT license found in the
   * LICENSE file in the root directory of this source tree.
   *
   */
  
  import 'react-native';
  import React from 'react';
  import App from '../App';
  import renderer from 'react-test-renderer';
  import NavigationTestUtils from 'react-navigation/NavigationTestUtils';
  
  describe('App snapshot', () => {
    jest.useFakeTimers();
    beforeEach(() => {
      NavigationTestUtils.resetInternalState();
    });
  
    it('renders the loading screen', async () => {
      const tree = renderer.create(<App />).toJSON();
      expect(tree).toMatchSnapshot();
    });
  
    it('renders the root without loading screen', async () => {
      const tree = renderer.create(<App skipLoadingScreen />).toJSON();
      expect(tree).toMatchSnapshot();
    });
  });
  