import 'react-native';
import React from 'react';
import Index from '../index.ios.js';

// Note: test renderer must be required after react-native.
import renderer from 'react-test-renderer';

it('renders correctly', () => {
  const tree = renderer.create(
    <setup />
    ).toJSON();
  expect(tree).toMatchSnapshot();
});

//import 'react-native';
//import React from 'react';
//import Index from '../index.ios.js';

// Note: test renderer must be required after react-native.
//import renderer from 'react-test-renderer';

//it('renders correctly', () => {
  //const tree = renderer.create(
    //<setup />
    //).toJSON();
  //expect(tree).toMatchSnapshot();
//});

Update index.ios.js