mirror of
https://github.com/status-im/react-navigation.git
synced 2025-02-24 17:18:09 +00:00
* [Playground] Commit auto-changes to package.json, yarn.lock * [Playground] Rerun create-react-native-app Preserving rn-cli.js and transformer.js Still not quite working. * [Playground] Fix the Expo loading issue by removing projectRoots Now it looks in the right place to find its resources, including 'entryPoint'. * [Playground] Add postinstall script to clean up files Yarn copies in Yarn copies them when installing locally, causing lots of @providesModule collisions. * Update the Contributors guide to explain how to use the example app And recommend Yarn by default * [Playground] Remove now-obsolete rn-cli.config.js * [Playground] Upgrade expo and other dependencies * [Playground] Don't delete .git just in case
10 lines
228 B
JavaScript
10 lines
228 B
JavaScript
import React from 'react';
|
|
import App from './App';
|
|
|
|
import renderer from 'react-test-renderer';
|
|
|
|
it('renders without crashing', () => {
|
|
const rendered = renderer.create(<App />).toJSON();
|
|
expect(rendered).toBeTruthy();
|
|
});
|