aboutsummaryrefslogtreecommitdiff
path: root/__tests__/App.test.tsx
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2024-05-12 16:40:21 +0530
committerAkshay Nair <phenax5@gmail.com>2024-09-29 16:16:35 +0530
commit8ca8f830a09d8ff08ccb654199cb33779117cc37 (patch)
tree328fcca1e9c04338e373aa9626d0ae4eaa11cbad /__tests__/App.test.tsx
downloaddaft-launcher-8ca8f830a09d8ff08ccb654199cb33779117cc37.tar.gz
daft-launcher-8ca8f830a09d8ff08ccb654199cb33779117cc37.zip
Initial commit
Generated by react-native@0.74.1
Diffstat (limited to '')
-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 @@
+/**
+ * @format
+ */
+
+import 'react-native';
+import React from 'react';
+import App from '../App';
+
+// Note: import explicitly to use the types shipped with jest.
+import {it} from '@jest/globals';
+
+// Note: test renderer must be required after react-native.
+import renderer from 'react-test-renderer';
+
+it('renders correctly', () => {
+ renderer.create(<App />);
+});