Browse Source

Use single test

Mathieu Acthernoene 7 years ago
parent
commit
6ab7f90b3d
2 changed files with 1 additions and 11 deletions
  1. 0
    10
      example/__tests__/index.android.js
  2. 1
    1
      example/__tests__/index.js

+ 0
- 10
example/__tests__/index.android.js View File

@@ -1,10 +0,0 @@
1
-import 'react-native'
2
-import React from 'react'
3
-import Index from '../index.android.js'
4
-
5
-// Note: test renderer must be required after react-native.
6
-import renderer from 'react-test-renderer'
7
-
8
-it('renders correctly', () => {
9
-  const tree = renderer.create(<Index />)
10
-})

example/__tests__/index.ios.js → example/__tests__/index.js View File

@@ -1,6 +1,6 @@
1 1
 import 'react-native'
2 2
 import React from 'react'
3
-import Index from '../index.ios.js'
3
+import Index from '../index.js'
4 4
 
5 5
 // Note: test renderer must be required after react-native.
6 6
 import renderer from 'react-test-renderer'