diff options
Diffstat (limited to '__tests__')
-rw-r--r-- | __tests__/App.test.tsx | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/__tests__/App.test.tsx b/__tests__/App.test.tsx new file mode 100644 index 0000000..9eac6fb --- /dev/null +++ b/__tests__/App.test.tsx | |||
@@ -0,0 +1,17 @@ | |||
1 | /** | ||
2 | * @format | ||
3 | */ | ||
4 | |||
5 | import 'react-native'; | ||
6 | import React from 'react'; | ||
7 | import App from '../App'; | ||
8 | |||
9 | // Note: import explicitly to use the types shipped with jest. | ||
10 | import {it} from '@jest/globals'; | ||
11 | |||
12 | // Note: test renderer must be required after react-native. | ||
13 | import renderer from 'react-test-renderer'; | ||
14 | |||
15 | it('renders correctly', () => { | ||
16 | renderer.create(<App />); | ||
17 | }); | ||