chore: Convert example to TypeScript (#648)

This commit is contained in:
Dylan Vann
2020-03-12 02:27:37 -04:00
committed by GitHub
parent dc3d66e1a0
commit bf55742e5f
40 changed files with 672 additions and 644 deletions
@@ -1,14 +0,0 @@
/**
* @format
*/
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 />)
})
@@ -0,0 +1,9 @@
/**
* @format
*/
export const _ = 0
it('adds', () => {
expect(2 + 2).toBe(4)
})