Rocket.Chat.ReactNative/__tests__/index.ios.js

13 lines
276 B
JavaScript
Raw Normal View History

2017-08-03 18:23:43 +00:00
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', () => {
2017-08-09 01:40:55 +00:00
const tree = renderer.create(
<Index />
);
2017-08-03 18:23:43 +00:00
});