BuyWhat/__tests__/index.ios.js
2017-07-04 21:14:01 +08:00

13 lines
280 B
JavaScript

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(
<Index />
);
});