summaryrefslogtreecommitdiffstats
path: root/__tests__
diff options
context:
space:
mode:
Diffstat (limited to '__tests__')
-rw-r--r--__tests__/App.test.tsx17
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
5import 'react-native';
6import React from 'react';
7import App from '../App';
8
9// Note: import explicitly to use the types shipped with jest.
10import {it} from '@jest/globals';
11
12// Note: test renderer must be required after react-native.
13import renderer from 'react-test-renderer';
14
15it('renders correctly', () => {
16 renderer.create(<App />);
17});