mirror of
https://github.com/status-im/react-native.git
synced 2025-02-22 22:28:09 +00:00
Summary: This diff moves the React Native template from `local-cli/templates/HelloWorld` to `template`. Keeping it in the react-native repo will allow us to make changes to the template and version it together with react-native, instead of moving it out into a separate repo and trying to keep the template in sync with RN. Reviewed By: TheSavior Differential Revision: D13372949 fbshipit-source-id: e68e267b4dcf6384535d7b48fc11e297a12e9676
16 lines
306 B
JavaScript
16 lines
306 B
JavaScript
/**
|
|
* @format
|
|
* @lint-ignore-every XPLATJSCOPYRIGHT1
|
|
*/
|
|
|
|
import 'react-native';
|
|
import React from 'react';
|
|
import App from '../App';
|
|
|
|
// Note: test renderer must be required after react-native.
|
|
import renderer from 'react-test-renderer';
|
|
|
|
it('renders correctly', () => {
|
|
renderer.create(<App />);
|
|
});
|